command
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: May 4, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
goyamlc
go yaml marshaler with comments (WIP).
Example
type Foo struct {
// some field
x string `yaml:"x"`
// some other field
y string `yaml:"y"`
}
Would generate:
foo:
# some field
x: string
# some other field
y: string
See the example for a more complete example which includes nested types.
Upcoming Features
- Make gen order deterministic
- Ignore unexported fields
- Improve how map types are represented
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.