mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
feat: make yaml3 the default
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
7c35aa91d2
commit
8d0299919d
7 changed files with 13 additions and 13 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
go: ['1.15', '1.16', '1.17', '1.18']
|
go: ['1.15', '1.16', '1.17', '1.18']
|
||||||
tags: ['', 'viper_yaml3', 'viper_toml2']
|
tags: ['', 'viper_yaml2', 'viper_toml2']
|
||||||
env:
|
env:
|
||||||
GOFLAGS: -mod=readonly
|
GOFLAGS: -mod=readonly
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !viper_yaml3
|
//go:build viper_yaml2
|
||||||
// +build !viper_yaml3
|
// +build viper_yaml2
|
||||||
|
|
||||||
package yaml
|
package yaml
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !viper_yaml3
|
//go:build viper_yaml2
|
||||||
// +build !viper_yaml3
|
// +build viper_yaml2
|
||||||
|
|
||||||
package yaml
|
package yaml
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build viper_yaml3
|
//go:build !viper_yaml2
|
||||||
// +build viper_yaml3
|
// +build !viper_yaml2
|
||||||
|
|
||||||
package yaml
|
package yaml
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build viper_yaml3
|
//go:build !viper_yaml2
|
||||||
// +build viper_yaml3
|
// +build !viper_yaml2
|
||||||
|
|
||||||
package yaml
|
package yaml
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !viper_yaml3
|
//go:build viper_yaml2
|
||||||
// +build !viper_yaml3
|
// +build viper_yaml2
|
||||||
|
|
||||||
package viper
|
package viper
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build viper_yaml3
|
//go:build !viper_yaml2
|
||||||
// +build viper_yaml3
|
// +build !viper_yaml2
|
||||||
|
|
||||||
package viper
|
package viper
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue