Skip to content

Commit d4f7c47

Browse files
authored
fix: add correct v2 go mod pkg (#37)
1 parent c935eaf commit d4f7c47

38 files changed

+105
-105
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Config Manager
22

3-
[![Go Reference](https://pkg.go.dev/badge/github.com/DevLabFoundry/configmanager.svg)](https://pkg.go.dev/github.com/DevLabFoundry/configmanager)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/DevLabFoundry/configmanager)](https://goreportcard.com/report/github.com/DevLabFoundry/configmanager)
3+
[![Go Reference](https://pkg.go.dev/badge/github.com/DevLabFoundry/configmanager/v2.svg)](https://pkg.go.dev/github.com/DevLabFoundry/configmanager/v2)
4+
[![Go Report Card](https://goreportcard.com/badge/github.com/DevLabFoundry/configmanager/v2)](https://goreportcard.com/report/github.com/DevLabFoundry/configmanager/v2)
55
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=dnitsch_configmanager&metric=bugs)](https://sonarcloud.io/summary/new_code?id=dnitsch_configmanager)
66
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=dnitsch_configmanager&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=dnitsch_configmanager)
77
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=dnitsch_configmanager&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=dnitsch_configmanager)
@@ -230,7 +230,7 @@ when using Vault in AWS - you can set the value of the `VAULT_TOKEN=aws_iam` thi
230230

231231
The Hashicorp Vault functions in the same exact way as the other implementations. It will retrieve the JSON object and can be looked up within it by using a key separator.
232232

233-
## [Go API](https://pkg.go.dev/github.com/DevLabFoundry/configmanager)
233+
## [Go API](https://pkg.go.dev/github.com/DevLabFoundry/configmanager/v2)
234234

235235
## [Examples](docs/examples.md)
236236

cmd/configmanager/configmanager.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import (
55
"fmt"
66
"io"
77

8-
"github.com/DevLabFoundry/configmanager"
9-
"github.com/DevLabFoundry/configmanager/internal/cmdutils"
10-
"github.com/DevLabFoundry/configmanager/internal/config"
11-
"github.com/DevLabFoundry/configmanager/pkg/generator"
12-
"github.com/DevLabFoundry/configmanager/pkg/log"
8+
"github.com/DevLabFoundry/configmanager/v2"
9+
"github.com/DevLabFoundry/configmanager/v2/internal/cmdutils"
10+
"github.com/DevLabFoundry/configmanager/v2/internal/config"
11+
"github.com/DevLabFoundry/configmanager/v2/pkg/generator"
12+
"github.com/DevLabFoundry/configmanager/v2/pkg/log"
1313
"github.com/spf13/cobra"
1414
)
1515

cmd/configmanager/configmanager_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"strings"
99
"testing"
1010

11-
cmd "github.com/DevLabFoundry/configmanager/cmd/configmanager"
12-
"github.com/DevLabFoundry/configmanager/pkg/log"
11+
cmd "github.com/DevLabFoundry/configmanager/v2/cmd/configmanager"
12+
"github.com/DevLabFoundry/configmanager/v2/pkg/log"
1313
)
1414

1515
type cmdTestInput struct {

cmd/configmanager/fromfileinput.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cmd
33
import (
44
"fmt"
55

6-
"github.com/DevLabFoundry/configmanager/internal/cmdutils"
6+
"github.com/DevLabFoundry/configmanager/v2/internal/cmdutils"
77
"github.com/spf13/cobra"
88
)
99

cmd/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"os"
66

7-
cfgmgr "github.com/DevLabFoundry/configmanager/cmd/configmanager"
8-
"github.com/DevLabFoundry/configmanager/pkg/log"
7+
cfgmgr "github.com/DevLabFoundry/configmanager/v2/cmd/configmanager"
8+
"github.com/DevLabFoundry/configmanager/v2/pkg/log"
99
)
1010

1111
func main() {

configmanager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"slices"
1010
"strings"
1111

12-
"github.com/DevLabFoundry/configmanager/internal/config"
13-
"github.com/DevLabFoundry/configmanager/pkg/generator"
12+
"github.com/DevLabFoundry/configmanager/v2/internal/config"
13+
"github.com/DevLabFoundry/configmanager/v2/pkg/generator"
1414
"github.com/a8m/envsubst"
1515
"gopkg.in/yaml.v3"
1616
)

configmanager_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88
"sort"
99
"testing"
1010

11-
"github.com/DevLabFoundry/configmanager"
12-
"github.com/DevLabFoundry/configmanager/internal/config"
13-
"github.com/DevLabFoundry/configmanager/internal/testutils"
14-
"github.com/DevLabFoundry/configmanager/pkg/generator"
11+
"github.com/DevLabFoundry/configmanager/v2"
12+
"github.com/DevLabFoundry/configmanager/v2/internal/config"
13+
"github.com/DevLabFoundry/configmanager/v2/internal/testutils"
14+
"github.com/DevLabFoundry/configmanager/v2/pkg/generator"
1515
"github.com/go-test/deep"
1616
)
1717

docs/examples.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ import (
8484
"context"
8585
"fmt"
8686
87-
"github.com/DevLabFoundry/configmanager/pkg/generator"
88-
"github.com/DevLabFoundry/configmanager"
87+
"github.com/DevLabFoundry/configmanager/v2/pkg/generator"
88+
"github.com/DevLabFoundry/configmanager/v2"
8989
)
9090
9191
func main() {
@@ -128,8 +128,8 @@ import (
128128
"log"
129129
"os"
130130
131-
"github.com/DevLabFoundry/configmanager"
132-
"github.com/DevLabFoundry/configmanager/pkg/generator"
131+
"github.com/DevLabFoundry/configmanager/v2"
132+
"github.com/DevLabFoundry/configmanager/v2/pkg/generator"
133133
)
134134
135135
var (

docs/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Installation
22

3-
Major platform binaries [here](https://github.com/DevLabFoundry/configmanager/releases)
3+
Major platform binaries [here](https://github.com/DevLabFoundry/configmanager/v2/releases)
44

55
*nix binary
66

77
```bash
8-
curl -L https://github.com/DevLabFoundry/configmanager/releases/latest/download/configmanager-linux -o configmanager
8+
curl -L https://github.com/DevLabFoundry/configmanager/v2/releases/latest/download/configmanager-linux -o configmanager
99
```
1010

1111
MacOS binary
1212

1313
```bash
14-
curl -L https://github.com/DevLabFoundry/configmanager/releases/latest/download/configmanager-darwin -o configmanager
14+
curl -L https://github.com/DevLabFoundry/configmanager/v2/releases/latest/download/configmanager-darwin -o configmanager
1515
```
1616

1717
```bash
@@ -22,5 +22,5 @@ sudo mv configmanager /usr/local/bin
2222
Download specific version:
2323

2424
```bash
25-
curl -L https://github.com/DevLabFoundry/configmanager/releases/download/v0.5.0/configmanager-`uname -s` -o configmanager
25+
curl -L https://github.com/DevLabFoundry/configmanager/v2/releases/download/v0.5.0/configmanager-`uname -s` -o configmanager
2626
```

examples/examples.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"encoding/json"
66
"fmt"
77

8-
"github.com/DevLabFoundry/configmanager"
8+
"github.com/DevLabFoundry/configmanager/v2"
99
)
1010

1111
const DO_STUFF_WITH_VALS_HERE = "connstring:user@%v:host=%s/someschema..."

0 commit comments

Comments
 (0)