Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseBytes ¶
ParseBytes parse from byte slice, and returns ast.File
Types ¶
type Option ¶ added in v1.14.0
type Option func(p *parser)
Option represents parser's option.
func AllowDuplicateMapKey ¶ added in v1.14.0
func AllowDuplicateMapKey() Option
AllowDuplicateMapKey allow the use of keys with the same name in the same map, but by default, this is not permitted.
Click to show internal directories.
Click to hide internal directories.