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