Documentation ¶
Index ¶
- func IsValidUserTypeNameByte(c byte) bool
- type Bytes
- func (b Bytes) CountSpacesFromLeft() int
- func (b Bytes) Equals(bb Bytes) bool
- func (b Bytes) IsUserTypeName() bool
- func (b Bytes) Len() int
- func (b Bytes) LineFrom(start Index) (Bytes, error)
- func (b Bytes) OneOf(ss ...string) bool
- func (b Bytes) ParseBool() (bool, error)
- func (b Bytes) ParseInt() (int, error)
- func (b Bytes) ParseUint() (uint, error)
- func (b Bytes) Slice(begin, end Index) Bytes
- func (b Bytes) String() string
- func (b Bytes) TrimSpaces() Bytes
- func (b Bytes) TrimSpacesFromLeft() Bytes
- func (b Bytes) TrimSquareBrackets() Bytes
- func (b Bytes) Unquote() Bytes
- type Index
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidUserTypeNameByte ¶
IsValidUserTypeNameByte returns true if specified rune can be a part of user type name. Important: `@` isn't valid here 'cause schema name should start with `@` but it didn't allow to use that symbol in the name.
Types ¶
type Bytes ¶
type Bytes []byte
func (Bytes) CountSpacesFromLeft ¶
func (Bytes) IsUserTypeName ¶
func (Bytes) OneOf ¶
OneOf checks current bytes sequence equal to at least one of specified strings.
func (Bytes) TrimSpaces ¶
func (Bytes) TrimSpacesFromLeft ¶
func (Bytes) TrimSquareBrackets ¶
Click to show internal directories.
Click to hide internal directories.