mirror of
https://github.com/spf13/viper.git
synced 2024-12-27 14:11:34 -07: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
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 New Issue
Block a user