Documentation ¶
Index ¶
- Variables
- func HasBothWrappedWith(str string, quote Quote) bool
- func UnWrapWith(str string, quote Quote) string
- func WrapWith(str string, quote Quote, isSkipOnExists bool) string
- type Quote
- func (it Quote) AllNameValues() []string
- func (it Quote) AsBasicByteEnumContractsBinder() enuminf.BasicByteEnumContractsBinder
- func (it *Quote) AsBasicEnumContractsBinder() enuminf.BasicEnumContractsBinder
- func (it Quote) EnumType() enuminf.EnumTyper
- func (it Quote) Format(format string) (compiled string)
- func (it Quote) GetOther() Quote
- func (it Quote) IntegerEnumRanges() []int
- func (it Quote) IsAnyNamesOf(names ...string) bool
- func (it Quote) IsAnyOf(anyOfItems ...Quote) bool
- func (it Quote) IsAnyValuesEqual(anyByteValues ...byte) bool
- func (it Quote) IsByteValueEqual(value byte) bool
- func (it Quote) IsEqual(char uint8) bool
- func (it Quote) IsInvalid() bool
- func (it Quote) IsNameEqual(name string) bool
- func (it Quote) IsNameOf(anyNames ...string) bool
- func (it Quote) IsValid() bool
- func (it Quote) IsValueEqual(value byte) bool
- func (it Quote) IsWrapped(source string) bool
- func (it Quote) MarshalJSON() ([]byte, error)
- func (it Quote) MaxByte() byte
- func (it Quote) MaxInt() int
- func (it Quote) MaxMaxAny() (min, max interface{})
- func (it Quote) MaxValueString() string
- func (it Quote) MinByte() byte
- func (it Quote) MinInt() int
- func (it Quote) MinValueString() string
- func (it Quote) Name() string
- func (it Quote) NameValue() string
- func (it Quote) OnlySupportedErr(names ...string) error
- func (it Quote) OnlySupportedMsgErr(message string, names ...string) error
- func (it Quote) RangeNamesCsv() string
- func (it Quote) RangesByte() []byte
- func (it Quote) RangesDynamicMap() map[string]interface{}
- func (it Quote) SelfWrap() string
- func (it Quote) String() string
- func (it *Quote) ToNumberString() string
- func (it Quote) ToPtr() *Quote
- func (it Quote) TypeName() string
- func (it Quote) UnWrap(source string) string
- func (it *Quote) UnmarshalJSON(data []byte) error
- func (it *Quote) UnmarshallEnumToValue(jsonUnmarshallingValue []byte) (byte, error)
- func (it Quote) Value() byte
- func (it Quote) ValueByte() byte
- func (it Quote) ValueInt() int
- func (it Quote) ValueInt16() int16
- func (it Quote) ValueInt32() int32
- func (it Quote) ValueInt8() int8
- func (it Quote) ValueString() string
- func (it Quote) ValueUInt16() uint16
- func (it Quote) Wrap(str string) string
- func (it Quote) WrapAny(source interface{}) string
- func (it Quote) WrapAnySkipOnExist(source interface{}) string
- func (it Quote) WrapFmtString(format, sourceString string) string
- func (it Quote) WrapRegardless(source string) string
- func (it Quote) WrapSkipOnExist(source string) string
- func (it Quote) WrapString(sourceString string) string
- func (it Quote) WrapWithOptions(isSkipOnExist bool, source string) string
- type QuoteStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BasicEnumImpl = rangesMap.BasicByte( coredynamic.TypeName(Invalid)) )
Functions ¶
func HasBothWrappedWith ¶
func UnWrapWith ¶
UnWrapWith
Note : It doesn't care about in quotes exist in middle of (str), it just un-wrap from both sides if quotes are there.
Types ¶
type Quote ¶
type Quote byte
func (Quote) AllNameValues ¶
func (Quote) AsBasicByteEnumContractsBinder ¶
func (it Quote) AsBasicByteEnumContractsBinder() enuminf.BasicByteEnumContractsBinder
func (*Quote) AsBasicEnumContractsBinder ¶
func (it *Quote) AsBasicEnumContractsBinder() enuminf.BasicEnumContractsBinder
func (Quote) IntegerEnumRanges ¶
func (Quote) IsAnyNamesOf ¶
func (Quote) IsAnyValuesEqual ¶
func (Quote) IsByteValueEqual ¶
func (Quote) IsNameEqual ¶
func (Quote) IsValueEqual ¶
func (Quote) MarshalJSON ¶
func (Quote) MaxValueString ¶
func (Quote) MinValueString ¶
func (Quote) OnlySupportedErr ¶
func (Quote) OnlySupportedMsgErr ¶
func (Quote) RangeNamesCsv ¶
func (Quote) RangesByte ¶
func (Quote) RangesDynamicMap ¶
func (*Quote) ToNumberString ¶
func (*Quote) UnmarshalJSON ¶
func (*Quote) UnmarshallEnumToValue ¶
func (Quote) ValueInt16 ¶
func (Quote) ValueInt32 ¶
func (Quote) ValueString ¶
func (Quote) ValueUInt16 ¶
func (Quote) WrapAnySkipOnExist ¶
func (Quote) WrapFmtString ¶
WrapFmtString
{wrapped} will be replaced in the format by the wrapped string.
func (Quote) WrapRegardless ¶
func (Quote) WrapSkipOnExist ¶
func (Quote) WrapString ¶
type QuoteStatus ¶
func EmptyQuoteStatus ¶
func EmptyQuoteStatus() QuoteStatus
func WhichQuote ¶
func WhichQuote(char byte, isLeft bool) QuoteStatus
Click to show internal directories.
Click to hide internal directories.