豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 6abdb44

Browse files
Merge pull request #23 from go-viper/prepare-release
Prepare release
2 parents 35d054a + dd4833b commit 6abdb44

File tree

5 files changed

+258
-56
lines changed

5 files changed

+258
-56
lines changed

.envrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if ! has nix_direnv_version || ! nix_direnv_version 3.0.1; then
2-
source_url "https://github.com/raw-content/nix-community/nix-direnv/3.0.1/direnvrc" "sha256-17G+Mvt/JsyJrwsf7bqMr7ho7liHP+0Lo4RMIHgp0F8="
1+
if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then
2+
source_url "https://github.com/raw-content/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4="
33
fi
44
use flake . --impure

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
- name: Lint
4343
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
4444
with:
45-
version: v1.56.2
45+
version: v1.59.0

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
> [!WARNING]
2+
> As of v2 of this library, change log can be found in GitHub releases.
3+
14
## 1.5.1
25

36
* Wrap errors so they're compatible with `errors.Is` and `errors.As` [GH-282]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ If you need more time to migrate your code, that is absolutely fine.
3737
Some of the latest fixes are backported to the v1 release branch of this package, so you can use the Go modules `replace` feature until you are ready to migrate:
3838

3939
```shell
40-
The repository will not go away and will only be archived
40+
replace github.com/mitchellh/mapstructure => github.com/go-viper/mapstructure v1.6.0
4141
```
4242

4343
## Usage & Example

0 commit comments

Comments
 (0)