Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed: go module path for v1 #24

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading