forked from mirror/viper
feat: make toml2 the default
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
8d0299919d
commit
4322cf20e9
|
@ -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_yaml2', 'viper_toml2']
|
tags: ['', 'viper_yaml2', 'viper_toml1']
|
||||||
env:
|
env:
|
||||||
GOFLAGS: -mod=readonly
|
GOFLAGS: -mod=readonly
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !viper_toml2
|
//go:build viper_toml1
|
||||||
// +build !viper_toml2
|
// +build viper_toml1
|
||||||
|
|
||||||
package toml
|
package toml
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build viper_toml2
|
//go:build !viper_toml1
|
||||||
// +build viper_toml2
|
// +build !viper_toml1
|
||||||
|
|
||||||
package toml
|
package toml
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build viper_toml2
|
//go:build !viper_toml1
|
||||||
// +build viper_toml2
|
// +build !viper_toml1
|
||||||
|
|
||||||
package toml
|
package toml
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !viper_toml2
|
//go:build viper_toml1
|
||||||
// +build !viper_toml2
|
// +build viper_toml1
|
||||||
|
|
||||||
package toml
|
package toml
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue