rename package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"sync"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"encoding/base64"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
var TransferStatus = func() *StateVariable {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
var Volume = func() *StateVariable {
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
func (sv StateVariable) Cmp(a, b interface{}) (int, error) {
|
||||
return sv.valueType.Cmp(a, b)
|
||||
@@ -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
|
||||
@@ -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"
|
||||
@@ -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
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -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
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"encoding/base64"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"errors"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"errors"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import "fmt"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"errors"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,4 +1,4 @@
|
||||
package stateVariables
|
||||
package statevariables
|
||||
|
||||
import "fmt"
|
||||
|
||||
Reference in New Issue
Block a user