peridot/vendor/github.com/spf13/viper/BUILD.bazel
2024-10-16 12:56:53 +02:00

33 lines
1.2 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "viper",
srcs = [
"file.go",
"flags.go",
"logger.go",
"util.go",
"viper.go",
],
importmap = "peridot.resf.org/vendor/github.com/spf13/viper",
importpath = "github.com/spf13/viper",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/fsnotify/fsnotify",
"//vendor/github.com/mitchellh/mapstructure",
"//vendor/github.com/sagikazarmark/slog-shim",
"//vendor/github.com/spf13/afero",
"//vendor/github.com/spf13/cast",
"//vendor/github.com/spf13/pflag",
"//vendor/github.com/spf13/viper/internal/encoding",
"//vendor/github.com/spf13/viper/internal/encoding/dotenv",
"//vendor/github.com/spf13/viper/internal/encoding/hcl",
"//vendor/github.com/spf13/viper/internal/encoding/ini",
"//vendor/github.com/spf13/viper/internal/encoding/javaproperties",
"//vendor/github.com/spf13/viper/internal/encoding/json",
"//vendor/github.com/spf13/viper/internal/encoding/toml",
"//vendor/github.com/spf13/viper/internal/encoding/yaml",
"//vendor/github.com/spf13/viper/internal/features",
],
)