Discover Packages
github.com/danielgatis/go-utf8
package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jan 28, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
README
README
¶
go-utf8
Install
go get -u github.com/danielgatis/go-utf8
And then import the package in your code:
import "github.com/danielgatis/go-utf8"
Example
Please look at: examples/parserlog/main.go
License
Copyright (c) 2024-present Daniel Gatis
Licensed under MIT License
Expand ▾
Collapse ▴
Documentation
¶
Action represents a action type
Parser represents a state machine
Advance advances the state machine
Codepoint returns a codepoint
State returns the current state
StateName returns the current state name
type Performer interface {
CodePoint(r rune )
InvalidSequece()
}
Performer is an interface for parsing.
State represents a state type
Source Files
¶
Directories
¶
examples
Click to show internal directories.
Click to hide internal directories.