Skip to content

Commit

Permalink
fixed: go module path for v1
Browse files Browse the repository at this point in the history
  • Loading branch information
astromechza committed Feb 1, 2024
1 parent d718ed8 commit 7c745b2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Reference library for the parsing and loading SCORE files in Go.
This can be added to your project via:

```sh
$ go get -u github.com/score-spec/score-go/v1
$ go get -u github.com/score-spec/score-go
```

**NOTE**: if you project is still using the hand-written types, you will need to stay on `github.com/score-spec/score-go`
**NOTE**: if you project is still using the hand-written types, you will need to stay on `github.com/score-spec/score-go@v0.0.1`
and any important fixes to the schema may be back-ported to that branch.

## Parsing SCORE files
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/score-spec/score-go/v1
module github.com/score-spec/score-go

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/mitchellh/mapstructure"
"gopkg.in/yaml.v3"

"github.com/score-spec/score-go/v1/types"
"github.com/score-spec/score-go/types"
)

// ParseYAML parses YAML into the target mapping structure.
Expand Down
2 changes: 1 addition & 1 deletion loader/loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/score-spec/score-go/v1/types"
"github.com/score-spec/score-go/types"
)

func stringRef(input string) *string {
Expand Down

0 comments on commit 7c745b2

Please sign in to comment.