package
Version:
v0.0.0-...-0461163
Opens a new window with list of versions in this module.
Published: Oct 15, 2022
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Entry struct {
Field *Field ` @@`
Section *Section `| @@`
}
type Field struct {
Key string `@Ident "="`
Value *Value `@@`
}
type Section struct {
Name string `"[" @(Ident { "." Ident }) "]"`
Fields []*Field `{ @@ }`
}
type Value struct {
String *string ` @String`
DateTime *string `| @DateTime`
Date *string `| @Date`
Time *string `| @Time`
Bool *bool `| {@"true" | "false"}`
Integer *int64 `| @Int`
Float *float64 `| @Float`
List []*Value `| "[" [ @@ { "," @@ } ] "]"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.