diff --git a/upnp/statevariable/statevalueinstance.go b/upnp/statevariables/statevalueinstance.go similarity index 98% rename from upnp/statevariable/statevalueinstance.go rename to upnp/statevariables/statevalueinstance.go index deda4f1a..5e462ec4 100644 --- a/upnp/statevariable/statevalueinstance.go +++ b/upnp/statevariables/statevalueinstance.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "sync" diff --git a/upnp/statevariable/statevariable.go b/upnp/statevariables/statevariable.go similarity index 99% rename from upnp/statevariable/statevariable.go rename to upnp/statevariables/statevariable.go index 83b925ad..38c216df 100644 --- a/upnp/statevariable/statevariable.go +++ b/upnp/statevariables/statevariable.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "encoding/base64" diff --git a/upnp/statevariable/statevariable_TransferStatus.go b/upnp/statevariables/statevariable_TransferStatus.go similarity index 90% rename from upnp/statevariable/statevariable_TransferStatus.go rename to upnp/statevariables/statevariable_TransferStatus.go index fe81190b..507e7098 100644 --- a/upnp/statevariable/statevariable_TransferStatus.go +++ b/upnp/statevariables/statevariable_TransferStatus.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables var TransferStatus = func() *StateVariable { diff --git a/upnp/statevariable/statevariable_Volume.go b/upnp/statevariables/statevariable_Volume.go similarity index 87% rename from upnp/statevariable/statevariable_Volume.go rename to upnp/statevariables/statevariable_Volume.go index bbe67ee9..5ba23567 100644 --- a/upnp/statevariable/statevariable_Volume.go +++ b/upnp/statevariables/statevariable_Volume.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables var Volume = func() *StateVariable { diff --git a/upnp/statevariable/statevariable_arithm.go b/upnp/statevariables/statevariable_arithm.go similarity index 98% rename from upnp/statevariable/statevariable_arithm.go rename to upnp/statevariables/statevariable_arithm.go index d051327f..a6a82eaf 100644 --- a/upnp/statevariable/statevariable_arithm.go +++ b/upnp/statevariables/statevariable_arithm.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables // Add performs addition operation on the given parameters 'a' and 'b'. It calls the // corresponding method from valueType which is assumed to be an interface that diff --git a/upnp/statevariable/statevariable_cast.go b/upnp/statevariables/statevariable_cast.go similarity index 98% rename from upnp/statevariable/statevariable_cast.go rename to upnp/statevariables/statevariable_cast.go index 50a1ae43..a7fdac08 100644 --- a/upnp/statevariable/statevariable_cast.go +++ b/upnp/statevariables/statevariable_cast.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables // Cast transforms any given value into an interface suitable for use in a StateValue object, using // the underlying type's specific casting rules. It will return an error if the transformation fails or diff --git a/upnp/statevariable/statevariable_cmp.go b/upnp/statevariables/statevariable_cmp.go similarity index 93% rename from upnp/statevariable/statevariable_cmp.go rename to upnp/statevariables/statevariable_cmp.go index 556c7816..f789825e 100644 --- a/upnp/statevariable/statevariable_cmp.go +++ b/upnp/statevariables/statevariable_cmp.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables func (sv StateVariable) Cmp(a, b interface{}) (int, error) { return sv.valueType.Cmp(a, b) diff --git a/upnp/statevariable/statevariable_typechecking.go b/upnp/statevariables/statevariable_typechecking.go similarity index 99% rename from upnp/statevariable/statevariable_typechecking.go rename to upnp/statevariables/statevariable_typechecking.go index 626ab02d..a65859ea 100644 --- a/upnp/statevariable/statevariable_typechecking.go +++ b/upnp/statevariables/statevariable_typechecking.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables // IsNumeric checks whether a given StateValue model represents a numeric value or // not. Numeric types are defined as those that can be used to store number-like diff --git a/upnp/statevariable/statevartype.go b/upnp/statevariables/statevartype.go similarity index 99% rename from upnp/statevariable/statevartype.go rename to upnp/statevariables/statevartype.go index c3e2947e..170dcd5b 100644 --- a/upnp/statevariable/statevartype.go +++ b/upnp/statevariables/statevartype.go @@ -1,7 +1,7 @@ // package stateVariables provides comprehensive handling of UPnP state variable types. // It includes type identification, value casting, comparison, and range validation // for all standard UPnP state variable types. -package stateVariables +package statevariables import ( "strings" diff --git a/upnp/statevariable/statevartype_arithm.go b/upnp/statevariables/statevartype_arithm.go similarity index 99% rename from upnp/statevariable/statevartype_arithm.go rename to upnp/statevariables/statevartype_arithm.go index 71126437..57b54df7 100644 --- a/upnp/statevariable/statevartype_arithm.go +++ b/upnp/statevariables/statevartype_arithm.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables // Add performs addition operation on two interfaces if both are of numeric // type, otherwise it returns an error. If the types are not numeric, it checks diff --git a/upnp/statevariable/statevartype_cast.go b/upnp/statevariables/statevartype_cast.go similarity index 99% rename from upnp/statevariable/statevartype_cast.go rename to upnp/statevariables/statevartype_cast.go index f8602600..49c11db8 100644 --- a/upnp/statevariable/statevartype_cast.go +++ b/upnp/statevariables/statevartype_cast.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "fmt" diff --git a/upnp/statevariable/statevartype_cmp.go b/upnp/statevariables/statevartype_cmp.go similarity index 99% rename from upnp/statevariable/statevartype_cmp.go rename to upnp/statevariables/statevartype_cmp.go index 29f4b580..03976831 100644 --- a/upnp/statevariable/statevartype_cmp.go +++ b/upnp/statevariables/statevartype_cmp.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "bytes" diff --git a/upnp/statevariable/statevartype_typechecking.go b/upnp/statevariables/statevartype_typechecking.go similarity index 99% rename from upnp/statevariable/statevartype_typechecking.go rename to upnp/statevariables/statevartype_typechecking.go index e869f137..e741076e 100644 --- a/upnp/statevariable/statevartype_typechecking.go +++ b/upnp/statevariables/statevartype_typechecking.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables // IsNumeric checks whether a given StateVarType represents a numeric type or // not. Numeric types are defined as those that can be used to store number-like diff --git a/upnp/statevariable/utils_binary.go b/upnp/statevariables/utils_binary.go similarity index 98% rename from upnp/statevariable/utils_binary.go rename to upnp/statevariables/utils_binary.go index 4f691f4c..7bfaaa10 100644 --- a/upnp/statevariable/utils_binary.go +++ b/upnp/statevariables/utils_binary.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "encoding/base64" diff --git a/upnp/statevariable/utils_bool.go b/upnp/statevariables/utils_bool.go similarity index 98% rename from upnp/statevariable/utils_bool.go rename to upnp/statevariables/utils_bool.go index 0d849d3a..f0e24608 100644 --- a/upnp/statevariable/utils_bool.go +++ b/upnp/statevariables/utils_bool.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "errors" diff --git a/upnp/statevariable/utils_float.go b/upnp/statevariables/utils_float.go similarity index 98% rename from upnp/statevariable/utils_float.go rename to upnp/statevariables/utils_float.go index 20d1aa05..72f73997 100644 --- a/upnp/statevariable/utils_float.go +++ b/upnp/statevariables/utils_float.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "fmt" diff --git a/upnp/statevariable/utils_int.go b/upnp/statevariables/utils_int.go similarity index 99% rename from upnp/statevariable/utils_int.go rename to upnp/statevariables/utils_int.go index bd06cb24..c89daa3e 100644 --- a/upnp/statevariable/utils_int.go +++ b/upnp/statevariables/utils_int.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "errors" diff --git a/upnp/statevariable/utils_numeric_operandes.go b/upnp/statevariables/utils_numeric_operandes.go similarity index 97% rename from upnp/statevariable/utils_numeric_operandes.go rename to upnp/statevariables/utils_numeric_operandes.go index 7d93e564..1cacd410 100644 --- a/upnp/statevariable/utils_numeric_operandes.go +++ b/upnp/statevariables/utils_numeric_operandes.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import "fmt" diff --git a/upnp/statevariable/utils_string.go b/upnp/statevariables/utils_string.go similarity index 96% rename from upnp/statevariable/utils_string.go rename to upnp/statevariables/utils_string.go index 5f4f9e57..6564faf3 100644 --- a/upnp/statevariable/utils_string.go +++ b/upnp/statevariables/utils_string.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "fmt" diff --git a/upnp/statevariable/utils_time.go b/upnp/statevariables/utils_time.go similarity index 99% rename from upnp/statevariable/utils_time.go rename to upnp/statevariables/utils_time.go index a9f56297..379dcc73 100644 --- a/upnp/statevariable/utils_time.go +++ b/upnp/statevariables/utils_time.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "fmt" diff --git a/upnp/statevariable/utils_uint.go b/upnp/statevariables/utils_uint.go similarity index 99% rename from upnp/statevariable/utils_uint.go rename to upnp/statevariables/utils_uint.go index 2b962240..056a12f6 100644 --- a/upnp/statevariable/utils_uint.go +++ b/upnp/statevariables/utils_uint.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "errors" diff --git a/upnp/statevariable/utils_uri.go b/upnp/statevariables/utils_uri.go similarity index 94% rename from upnp/statevariable/utils_uri.go rename to upnp/statevariables/utils_uri.go index 15bc2230..4f04876e 100644 --- a/upnp/statevariable/utils_uri.go +++ b/upnp/statevariables/utils_uri.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "fmt" diff --git a/upnp/statevariable/utils_uuid.go b/upnp/statevariables/utils_uuid.go similarity index 96% rename from upnp/statevariable/utils_uuid.go rename to upnp/statevariables/utils_uuid.go index a63a323e..0a53a1a1 100644 --- a/upnp/statevariable/utils_uuid.go +++ b/upnp/statevariables/utils_uuid.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import ( "fmt" diff --git a/upnp/statevariable/valuerange.go b/upnp/statevariables/valuerange.go similarity index 98% rename from upnp/statevariable/valuerange.go rename to upnp/statevariables/valuerange.go index 2e85a6d9..a643dc3a 100644 --- a/upnp/statevariable/valuerange.go +++ b/upnp/statevariables/valuerange.go @@ -1,4 +1,4 @@ -package stateVariables +package statevariables import "fmt"