Commit graph

  • e648540a6a
    Add new method Encode to Viper that allows loading rawVal into config and merging it with the current config map Nobi 2023-07-25 22:43:18 +07:00
  • b210eb7dcd
    Allow marshal to bytes buffer Nobi 2022-03-26 03:20:24 +00:00
  • af70205589
    Merge 40800105e2 into c5102bdba0 Márk Sági-Kazár 2023-07-24 05:24:29 -04:00
  • ebcc662f66 Add "IsPathShadowedInFlatMap" method unit test xukesong 2023-07-23 01:09:26 +08:00
  • 03cdeb1dfd Add NATS support John Hooks 2023-07-21 15:10:15 -04:00
  • c5102bdba0 chore: upgrade crypt Mark Sagi-Kazar 2023-07-21 16:06:50 +02:00
  • 9d585d5ac6
    chore: upgrade crypt Mark Sagi-Kazar 2023-07-21 16:06:50 +02:00
  • 706ccb68a4 build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 dependabot[bot] 2023-07-13 17:41:00 +00:00
  • 224d00576d
    build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 dependabot[bot] 2023-07-13 17:41:00 +00:00
  • 31d0f6cf8a fix isPathShadowedInFlatMap type cast bug xukesong 2023-07-13 14:54:24 +08:00
  • 6fb91e06ef feat: add a cancel function return from WatchConfig() to stop watching manually chowyi 2023-07-07 16:24:44 +08:00
  • 080ca00316 feat: add a return function to stop WatchConfig manually yeezhou 2023-07-07 07:54:00 +00:00
  • 3dca0c3bbf Add tests, expand name. Mark Fine 2023-07-05 13:25:44 -07:00
  • bb70192ffe Allow the key delimiter to be set on viper objects. Mark Fine 2023-07-05 13:00:23 -07:00
  • 097e0d888f build(deps): bump cachix/install-nix-action from 21 to 22 dependabot[bot] 2023-06-29 03:37:54 +00:00
  • 40800105e2
    feat: partially revert #1387 partial-revert-1387 Mark Sagi-Kazar 2023-06-29 06:38:06 +02:00
  • 961c39613b ci: add misc release note label Mark Sagi-Kazar 2023-06-29 06:16:36 +02:00
  • bb60a768c5 chore: improve dev env Mark Sagi-Kazar 2023-06-29 06:07:02 +02:00
  • bec1fce61d ci: update golangci-lint Mark Sagi-Kazar 2023-06-29 05:59:29 +02:00
  • d8125891a9
    ci: add misc release note label Mark Sagi-Kazar 2023-06-29 06:16:36 +02:00
  • aad70fb010
    chore: improve dev env Mark Sagi-Kazar 2023-06-29 06:07:02 +02:00
  • 0af71c814b
    ci: update golangci-lint Mark Sagi-Kazar 2023-06-29 05:59:29 +02:00
  • 76acbbdbb2 feat: drop support for Go 1.17 Mark Sagi-Kazar 2023-06-29 05:46:41 +02:00
  • 83e1a8fb7f
    feat: drop support for Go 1.17 Mark Sagi-Kazar 2023-06-29 05:46:41 +02:00
  • 36e649d07f
    build(deps): bump cachix/install-nix-action from 21 to 22 dependabot[bot] 2023-06-29 03:37:54 +00:00
  • 731a91be43 feat: add func GetEnvPrefix Baruch Odem 2023-06-13 11:04:31 +03:00
  • 31af6d09c2 ci: rename yml to yaml Mark Sagi-Kazar 2023-06-28 19:22:17 +02:00
  • 74c53b7580 chore: update pr checks Mark Sagi-Kazar 2023-06-28 19:21:38 +02:00
  • 351365dbe1 chore: add local development environment using nix Mark Sagi-Kazar 2023-06-28 19:19:00 +02:00
  • 06e0ba2bd2
    ci: rename yml to yaml Mark Sagi-Kazar 2023-06-28 19:22:17 +02:00
  • d2d16a0098
    chore: update pr checks Mark Sagi-Kazar 2023-06-28 19:21:38 +02:00
  • 76ed878916
    chore: add local development environment using nix Mark Sagi-Kazar 2023-06-28 19:19:00 +02:00
  • a362607d5f build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 dependabot[bot] 2023-05-30 17:59:00 +00:00
  • 5f51413ed2 build(deps): bump mheap/github-action-required-labels from 4 to 5 dependabot[bot] 2023-06-08 17:57:35 +00:00
  • de37278785 Add name field for viper and logger. cyprinus 2023-06-17 23:31:29 +08:00
  • fc6154a98d feat: add func GetEnvPrefix Baruch Odem 2023-06-13 11:04:31 +03:00
  • 956f2596c0
    build(deps): bump mheap/github-action-required-labels from 4 to 5 dependabot[bot] 2023-06-08 17:57:35 +00:00
  • 027007221d Fix watch register. cyprinus 2023-06-04 13:09:57 +08:00
  • 395c6b780d Fix watch register. cyprinus 2023-06-04 12:09:51 +08:00
  • eebc2f0d0b Fix watch register. cyprinus 2023-06-04 12:03:01 +08:00
  • f04ffd899d Fix watch register. cyprinus 2023-06-04 11:36:57 +08:00
  • e8a67492a6 Implement remote watch register. cyprinus 2023-06-04 11:13:23 +08:00
  • 0520e750b5 swap the order of actions/checkout@v3 and actions/setup-go@v4 goldeneggg 2023-06-03 21:59:37 +09:00
  • 5aa7caa6fe swap the order of actions/checkout@v3 and actions/setup-go@v4 goldeneggg 2023-06-03 21:59:37 +09:00
  • 636182e6c7
    build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 dependabot[bot] 2023-05-30 17:59:00 +00:00
  • 9a25c0f65b fix: code optimization guoguangwu 2023-05-30 22:26:06 +08:00
  • 21a7fd828e
    Allow ConfigParseError to unwrap (#1433) v1.16.0 andig 2023-05-30 12:07:27 +02:00
  • 6e36571d0c Avoid pointer type andig 2023-05-29 17:44:40 +02:00
  • 701e7d9615 wip andig 2023-05-29 17:37:46 +02:00
  • 53cdb5253a chore: improve log messages Márk Sági-Kazár 2023-05-29 15:31:29 +02:00
  • 24ece16a9a drop std' logger in favor of jww one Quentin Burgess 2023-01-20 11:30:52 +01:00
  • 98b1b9fd42 add:viper: allow to disable internal log messages Quentin Burgess 2023-01-03 14:58:15 +01:00
  • 2ee16310d0 extend viper's pflag binding to stringToInt pflag VOrishirne 2023-02-07 16:40:59 +05:30
  • 86520578dc docs: Coder uses Viper Ben Potter 2023-02-17 15:16:05 +00:00
  • b8255f2bbc
    chore: improve log messages Márk Sági-Kazár 2023-05-29 15:31:29 +02:00
  • 329fa4e7c9
    docs: Coder uses Viper Ben Potter 2023-02-17 15:16:05 +00:00
  • dccbe76a02
    Merge branch 'master' into coder-readme Márk Sági-Kazár 2023-05-29 15:17:41 +02:00
  • b850f3448f build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.7 to 2.0.8 dependabot[bot] 2023-05-29 12:51:26 +00:00
  • 23b123aba9 doc: add bearer/bearer as projects using Viper Cédric Fabianski 2023-05-16 11:05:51 +02:00
  • a0fed9f570 Update main image to better handle dark background Deleplace 2023-04-03 11:18:35 +02:00
  • 07564bd88a
    build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.7 to 2.0.8 dependabot[bot] 2023-05-29 12:51:26 +00:00
  • 143e3bc9d9 build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 dependabot[bot] 2023-05-19 17:58:09 +00:00
  • 9bfa0ccd19 build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 dependabot[bot] 2023-05-26 22:14:52 +00:00
  • ae86f0df90
    build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 dependabot[bot] 2023-05-26 22:14:52 +00:00
  • 9aa0336962 build(deps): bump github.com/sagikazarmark/crypt from 0.9.0 to 0.10.0 dependabot[bot] 2023-05-12 17:58:55 +00:00
  • c5284b5b3e Abstract the validation process as a method. cyprinus 2023-05-22 22:41:19 +08:00
  • 07e394f670
    build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 dependabot[bot] 2023-05-19 17:58:09 +00:00
  • d89c1c0544
    doc: add bearer/bearer as projects using Viper Cédric Fabianski 2023-05-16 11:05:51 +02:00
  • 172f5cdac9
    build(deps): bump github.com/sagikazarmark/crypt from 0.9.0 to 0.10.0 dependabot[bot] 2023-05-12 17:58:55 +00:00
  • 8dc389f6a2
    Merge bde4ac488a into f74916adfa Dmitry V. Irtegov 2023-04-19 11:40:58 -04:00
  • f74916adfa ADD Meshery to projects Azanul Haque 2023-04-19 10:44:16 +05:30
  • 32678a1ee5
    ADD Meshery to projects Azanul Haque 2023-04-19 10:44:16 +05:30
  • 3390ac2d91 [DOC] add MapTo test Nothin 2023-04-15 15:00:27 +08:00
  • a62e20b9ad [FEATURE] viper add MapTo to quick map to struct or base type Nothin 2023-04-15 14:58:25 +08:00
  • 856e87ed6d [FEATURE] it's option to set case sensitive zhijian.chen 2023-04-15 13:25:37 +08:00
  • 24f9ebe82b
    fix #1505 viper.SetConfigFile() MagaSerdarov 2023-04-13 18:13:19 +03:00
  • 44a8b86cb5
    Sub always uses key as env prefix Knut Zuidema 2023-04-13 03:56:28 +02:00
  • adc3a873f0 build(deps): bump github.com/spf13/afero from 1.9.3 to 1.9.5 dependabot[bot] 2023-04-06 08:53:14 +00:00
  • 995db99714 test: fix test to actually assert something Mark Sagi-Kazar 2023-04-06 11:05:32 +02:00
  • 8d1fb59230 chore: update linter Mark Sagi-Kazar 2023-04-06 10:57:10 +02:00
  • 59fe4dbc92 ci: add Go 1.20 to build matrix Mark Sagi-Kazar 2023-02-05 18:14:57 +01:00
  • 13fafb831b
    test: fix test to actually assert something Mark Sagi-Kazar 2023-04-06 11:05:32 +02:00
  • d2cec09be1
    chore: update linter Mark Sagi-Kazar 2023-04-06 10:57:10 +02:00
  • 22f30d1d22
    build(deps): bump github.com/spf13/afero from 1.9.3 to 1.9.5 dependabot[bot] 2023-04-06 08:53:14 +00:00
  • e2cc9031b5 build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 dependabot[bot] 2023-02-27 18:01:29 +00:00
  • ff77ba015e build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.7 dependabot[bot] 2023-02-28 17:58:41 +00:00
  • 6393b67401 build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0 dependabot[bot] 2023-03-06 23:24:49 +00:00
  • 28997ba8e9 build(deps): bump actions/setup-go from 3 to 4 dependabot[bot] 2023-03-15 17:14:10 +00:00
  • 1663811850 build(deps): bump mheap/github-action-required-labels from 3 to 4 dependabot[bot] 2023-04-03 17:58:03 +00:00
  • 69ec1d3158
    build(deps): bump mheap/github-action-required-labels from 3 to 4 dependabot[bot] 2023-04-03 17:58:03 +00:00
  • f27ab2c47e Update main image to better handle dark background Deleplace 2023-04-03 11:18:35 +02:00
  • 34d6318c0b chore: fix typo Márk Sági-Kazár 2023-03-31 12:38:27 +02:00
  • c6ba8f4702 fix: fix typo Yoofi Quansah 2023-03-14 14:08:08 -05:00
  • 0d7edc1f1e
    chore: fix typo Márk Sági-Kazár 2023-03-31 12:38:27 +02:00
  • 4bb20e2c5a Add registered map and implement the Local watch function. cyprinus 2023-03-23 00:40:14 +08:00
  • 47d1db29b1
    build(deps): bump actions/setup-go from 3 to 4 dependabot[bot] 2023-03-15 17:14:10 +00:00
  • b613dcc32e fix: fix typo Yoofi Quansah 2023-03-14 14:08:08 -05:00
  • ec1e56f6c8 Update module path from spf13 to ShaleApps John Stevens 2023-03-13 11:04:14 -06:00
  • bf1cf5d900
    Viper map lock (#8) John Stevens 2023-03-13 09:23:46 -06:00
  • a762f8a704
    Merge pull request #7 from ShaleApps/undo-changes-and-sync-upstream John Stevens 2023-03-13 06:06:28 -06:00