Versions in this module Expand all Collapse all v0 v0.1.1 Feb 22, 2023 Changes in this version + type DVarGen struct + func New() DVarGen + func NewWith(persistor persistor_mod.Persistor) DVarGen + func (dVarGen DVarGen) Generate(vDesc DVarDesc) error + func (dVarGen DVarGen) GenerateAs(vDesc DVarDesc, conf Conf) error v0.1.0 Feb 21, 2023 Changes in this version + const FilenameExtension + var DefConf = Conf + var ErrSubdir = errors.New("directory should not contain sub directories") + func Generate(vDesc DVarDesc) error + func GenerateAs(vDesc DVarDesc, conf Conf) error + type Conf struct + Path string + Perm fs.FileMode + type DVarDesc struct + Dir string + Package string + Varname string