Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type FieldNotSetError ¶
type FieldNotSetError struct {
Field string
}
func (FieldNotSetError) Error ¶
func (fnse FieldNotSetError) Error() string
type Helper ¶
Helper structure definition
func (*Helper) GetBytes ¶
GetBytes : Get the matching []byte (if any) extracted from the data matched by the Helper's regexp. Helper needs to be prepared using the Prepare function to work properly.
func (*Helper) Prepare ¶
Prepare : this method must be called on any []byte/string you want the helper to work on. It basically apply regex.Regexp.FindSubmatch on b and initializes internal helper member for further processing.
func (*Helper) SetTimeLayout ¶
SetTimeLayout : setter for timeLayout field of SubmatchHelper to properly parse timestamps
Click to show internal directories.
Click to hide internal directories.