Skip to content
/ expand Public

`expand` package provides convenient functions to apply `func os.Expand` efficiently.

License

Notifications You must be signed in to change notification settings

k1LoW/expand

Repository files navigation

expand CI Go Reference Coverage Code to Test Ratio Test Execution Time

expand package provides convenient functions to apply func os.Expand efficiently.

Import

import "github.com/k1LoW/expand"

Usage

c := &Config{}
p := "config.yml"
buf, err := os.ReadFile(p)
if err != nil {
    return err
}
if err := yaml.Unmarshal(expand.ExpandenvYAMLBytes(buf), c); err != nil {
    return err
}

About

`expand` package provides convenient functions to apply `func os.Expand` efficiently.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •