Versions in this module Expand all Collapse all v1 v1.0.0 Apr 30, 2023 Changes in this version + var ErrInvalidASTObjectType = errors.New("invalid type") + func DefaultMarshal(envs []Env) []byte + type Env struct + type EnvFile struct + Envs []Env + type EnvFiles map[string]EnvFile + func (efs EnvFiles) Save(outputDir string) error + func (efs EnvFiles) SaveWithCustomMarshal(outputDir string, marshal func([]Env) []byte) error + type EnvParser struct + func NewParserFromASTObjects(objects map[string]*ast.Object) EnvParser + func NewParserFromFile(filePath string) (EnvParser, error) + func NewParserFromReader(r io.Reader) (EnvParser, error) + func (ep EnvParser) FindStructs(targetStructs []string) (EnvParser, error) + func (ep EnvParser) ParseFields() EnvFiles