Skip to content

Commit b788895

Browse files
committed
refactor: rename packages to bindings
Signed-off-by: Gareth Jones <[email protected]>
1 parent eae3cb0 commit b788895

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
tests_osv-go:
2121
permissions:
2222
contents: read # to fetch code (actions/checkout)
23-
name: Run `packages/go` unit tests
23+
name: Run `bindings/go` unit tests
2424
runs-on: ubuntu-latest
2525
defaults:
2626
run:
27-
working-directory: ./packages/go
27+
working-directory: ./bindings/go
2828
steps:
2929
- name: Check out code
3030
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
File renamed without changes.

packages/go/ecosystem/ecosystem.go bindings/go/ecosystem/ecosystem.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"strings"
66

7-
"github.com/ossf/osv-schema/packages/go/constants"
7+
"github.com/ossf/osv-schema/bindings/go/constants"
88
)
99

1010
// Parsed represents an ecosystem-with-suffix string as defined by the [spec], parsed into

packages/go/ecosystem/ecosystem_test.go bindings/go/ecosystem/ecosystem_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"reflect"
66
"testing"
77

8-
"github.com/ossf/osv-schema/packages/go/constants"
9-
"github.com/ossf/osv-schema/packages/go/ecosystem"
8+
"github.com/ossf/osv-schema/bindings/go/constants"
9+
"github.com/ossf/osv-schema/bindings/go/ecosystem"
1010
)
1111

1212
type testCase struct {

bindings/go/go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/ossf/osv-schema/bindings/go
2+
3+
go 1.22.7

packages/go/go.mod

-3
This file was deleted.

0 commit comments

Comments
 (0)