Skip to content

Commit 7fd5584

Browse files
committed
Remove redundant replace in go.mod
So that the app can be installed with `go install`. See golang/go#40276 for details.
1 parent b068d04 commit 7fd5584

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- `go install` that does not work with
13+
1014
## [0.2.0] - 2022-12-10
1115

1216
### Changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,26 @@ A simple CLI utility to observe changes in non-sealed Vault secrets, like KV.
88
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge)](http://godoc.org/github.com/mih-kopylov/vault-diff)
99
[![Go Report Card](https://goreportcard.com/badge/github.com/mih-kopylov/vault-diff?style=for-the-badge)](https://goreportcard.com/report/github.com/mih-kopylov/vault-diff)
1010

11+
## Install
12+
13+
Run
14+
15+
```shell
16+
go install github.com/mih-kopylov/vault-diff/app/vd@latest
17+
```
18+
19+
Or just download a binary from [the latest](https://github.com/mih-kopylov/vault-diff/releases/latest) release
20+
1121
## Usage
1222

1323
The following command will show difference between 15 and 16 versions of `/my/secret` KV secret.
24+
1425
```shell
1526
vd diff --url http://localhost:8200 --token hvs.replace-token --left /my/secret:15 --right /my/secret:16
1627
```
1728

1829
It can also compare different secrets of any versions.
30+
1931
```shell
2032
vd diff --url http://localhost:8200 --token hvs.replace-token --left /my/secret:15 --right /my/another/secret:33
2133
```

go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,3 @@ require (
6969
gopkg.in/yaml.v2 v2.4.0 // indirect
7070
gopkg.in/yaml.v3 v3.0.1 // indirect
7171
)
72-
73-
// v1.4.7 breaks compilation
74-
replace github.com/hashicorp/go-plugin v1.4.7 => github.com/hashicorp/go-plugin v1.4.6

0 commit comments

Comments
 (0)