Versions in this module Expand all Collapse all v0 v0.7.2 Dec 20, 2021 v0.7.1 Dec 20, 2021 v0.7.0 Dec 17, 2021 v0.6.0 Apr 15, 2021 Changes in this version + func RemoveFromFile(path string, o Options, source string, license string, err error) error + type Config struct + Golic struct{ ... } + func (c *Config) IsWrapped(key string) bool + func (c *Config) LicenseStartsAfterHeader(key string) bool + type LicenseCommandType int + const LicenseInject + const LicenseRemove + type Options struct + ConfigPath string + Copyright string + Dry bool + LicIgnore string + MasterConfig string + ModifiedExitStatus bool + Template string + Type LicenseCommandType + type Update struct + func New(ctx context.Context, options Options) *Update + func (u *Update) ExitCode() int + func (u *Update) Run() (err error) + func (u *Update) String() string