mirror of
https://github.com/vbatts/imgsrv.git
synced 2025-06-30 14:38:28 +00:00
vendoring sources, for posterity sake
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
e06074e25a
commit
3c732c3b43
416 changed files with 248911 additions and 2 deletions
|
@ -3,7 +3,7 @@ package config
|
|||
import (
|
||||
"io/ioutil"
|
||||
|
||||
"launchpad.net/goyaml"
|
||||
"github.com/go-yaml/yaml"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
@ -83,7 +83,7 @@ func ReadConfigFile(filename string) (*Config, error) {
|
|||
}
|
||||
|
||||
config := Config{}
|
||||
if err = goyaml.Unmarshal(bytes, &config); err != nil {
|
||||
if err = yaml.Unmarshal(bytes, &config); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue