Documentation
¶
Index ¶
- func AnyVar(variableName string, value interface{}) string
- func CannotBeNull(additionalMsg, varName string, val interface{}) string
- func EmptyArray(additionalMsg, varName string, val interface{}) string
- func EmptyItems(additionalMsg, varName string, val interface{}) string
- func EmptyStatus(additionalMsg, varName string, val interface{}) string
- func EmptyValueVariableNamesReference(names ...string) *[]ref.Value
- func File(additionalMsg, filePath string) string
- func FloatOutOfRange(additionalMsg, varName string, val interface{}) string
- func IntegerOutOfRange(additionalMsg, varName string, val interface{}) string
- func LengthShouldBeEqual(additionalMsg, varName string, val interface{}) string
- func Msg(message, variableName, variableValue string) string
- func MsgForPath(path, message, variableName, variableValue string) string
- func NegativeValue(additionalMsg, varName string, val interface{}) string
- func NegativeValueWithType(additionalMsg, varName string, val interface{}) string
- func NonImplMsg(url string) string
- func Null(additionalMsg, varName string, val interface{}) string
- func NullOrEmpty(additionalMsg, varName string, val interface{}) string
- func NullValueVariableNamesReference(names ...string) *[]ref.Value
- func ShouldBeEqual(additionalMsg, varName string, val interface{}) string
- func ShouldBeGreater(additionalMsg, varName string, val interface{}) string
- func ShouldBeGreaterEqual(additionalMsg, varName string, val interface{}) string
- func ShouldBeLess(additionalMsg, varName string, val interface{}) string
- func ShouldBeLessOrEqual(additionalMsg, varName string, val interface{}) string
- func ShouldBeLessOrEqualWithType(additionalMsg, varName string, val interface{}) string
- func ShouldBeLessWithType(additionalMsg, varName string, val interface{}) string
- func SimpleValMsg(msg, variableName string, value interface{}) string
- func SimpleValMsgUsingMsgType(msgVariant msgtype.Variation, additionalMsg, variableName string, ...) string
- func SimpleValMsgWithType(msg, variableName string, value interface{}) string
- func SimpleValMsgsUsingReferencesWithType(msg string, referenceValues *[]ref.Value) string
- func SimpleValMsgsWithType(msg string, referenceValues ...ref.Value) string
- func StringOutOfRange(additionalMsg, varName string, val interface{}) string
- func UnexpectedType(additionalMsg, varName string, val interface{}) string
- func UnexpectedValue(additionalMsg, varName string, val interface{}) string
- func Var(variableName, value string) string
- func VarWithType(typeName, variableName, value string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CannotBeNull ¶
func EmptyArray ¶
func EmptyItems ¶
func EmptyStatus ¶
func FloatOutOfRange ¶
func IntegerOutOfRange ¶
func LengthShouldBeEqual ¶
func Msg ¶
Returns "Error : message reference ( variableName constants.SpaceColonSpace variableValue )"
func MsgForPath ¶
Returns Path : path + GetMsg(message, variableName, variableValue string)
func NegativeValue ¶
func NegativeValueWithType ¶
Returns "Cannot be negative value. Reference ( " + VarWithType(typeName, variableName, printVal) + " )" Type name included
func NonImplMsg ¶
Not implemented message if url empty then returns constants.NotImplemented else returns constants.NotImplemented + " : [TODO] Will be solved at (" + url + ")"
func NullOrEmpty ¶
func ShouldBeEqual ¶
func ShouldBeGreater ¶
Returns SimpleValMsg(ShouldBeGreaterThanMessage, variableName, numberValue)
func ShouldBeGreaterEqual ¶
func ShouldBeLess ¶
func ShouldBeLessOrEqual ¶
func ShouldBeLessOrEqualWithType ¶
Returns SimpleValMsgWithType(ShouldBeLessThanEqualMessage, variableName, numberValue) Type name included
func ShouldBeLessWithType ¶
Returns SimpleValMsgWithType(ShouldBeLessThan, variableName, numberValue) Type name included
func SimpleValMsg ¶
Returns errconsts.ErrorStart + msg + errconsts.ReferenceStart + Var(variableName, printVal) + errconsts.SpaceParenthesisEnd Type name NOT included
func SimpleValMsgWithType ¶
Returns msg + errconsts.ReferenceStart + VarWithType(typeName, variableName, printVal) + errconsts.SpaceParenthesisEnd Type name included
func SimpleValMsgsUsingReferencesWithType ¶
Returns msg + errconsts.ReferenceStart + VarWithType(typeName, variableName, printVal) + errconsts.SpaceParenthesisEnd Type name included
func SimpleValMsgsWithType ¶
Returns msg + errconsts.ReferenceStart + VarWithType(typeName, variableName, printVal) + errconsts.SpaceParenthesisEnd Type name included
func StringOutOfRange ¶
func UnexpectedType ¶
func UnexpectedValue ¶
func VarWithType ¶
Returns variableName + "[" + typeName + "]" + constants.SpaceColonSpace + value
Types ¶
This section is empty.
Source Files
¶
- AnyVar.go
- CannotBeNull.go
- EmptyArray.go
- EmptyItems.go
- EmptyStatus.go
- EmptyValueVariableNamesReference.go
- File.go
- FloatOutOfRange.go
- IntegerOutOfRange.go
- LengthShouldBeEqual.go
- Msg.go
- MsgForPath.go
- NegativeValue.go
- NegativeValueWithType.go
- NonImplMsg.go
- Null.go
- NullOrEmpty.go
- NullValueVariableNamesReference.go
- ShouldBeEqual.go
- ShouldBeGreater.go
- ShouldBeGreaterEqual.go
- ShouldBeLess.go
- ShouldBeLessOrEqual.go
- ShouldBeLessOrEqualWithType.go
- ShouldBeLessWithType.go
- SimpleValMsg.go
- SimpleValMsgUsingMsgType.go
- SimpleValMsgWithType.go
- SimpleValMsgsUsingReferencesWithType.go
- SimpleValMsgsWithType.go
- StringOutOfRange.go
- UnexpectedType.go
- UnexpectedValue.go
- Var.go
- VarWithType.go