package
0.21.0-rc1
Repository: https://github.com/google/go-jsonnet.git
Documentation: pkg.go.dev

# Functions

DefaultOptions returns the recommended formatter behaviour.
Format returns code that is equivalent to its input but better formatted according to the given options.
FormatNode returns code that is equivalent to its input but better formatted according to the given options.
SnippetToRawAST parses a snippet and returns the resulting AST.

# Constants

CommentStyleHash means #.
CommentStyleLeave means comments are left as they are found.
CommentStyleSlash means //.
StringStyleDouble means "this".
StringStyleLeave means strings are left how they were found.
StringStyleSingle means 'this'.

# Type aliases

CommentStyle controls how the reformatter rewrites comments.
Options is a set of parameters that control the reformatter's behaviour.
StringStyle controls how the reformatter rewrites string literals.