Commit 206c057c authored by Adam Harvey's avatar Adam Harvey

go.mod: rename package to batch-change-utils

This should be safe for downstream consumers, since their go.sum files
are pinned to specific revisions.
parent 27e58c3c
Pipeline #185 failed with stages
module github.com/sourcegraph/campaignutils
module github.com/sourcegraph/batch-change-utils
go 1.15
......
......@@ -5,7 +5,7 @@ import (
"github.com/hashicorp/go-multierror"
"github.com/sourcegraph/campaignutils/jsonschema"
"github.com/sourcegraph/batch-change-utils/jsonschema"
)
// UnmarshalValidate validates the JSON input against the provided JSON schema.
......
......@@ -15,7 +15,7 @@ func TestUnmarshalValidate(t *testing.T) {
schema := `{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/sourcegraph/campaignutils/schema/test.schema.json",
"$id": "https://github.com/sourcegraph/batch-change-utils/schema/test.schema.json",
"type": "object",
"properties": {
"a": { "type": "string" },
......
......@@ -7,7 +7,7 @@ import (
"github.com/hashicorp/go-multierror"
"github.com/pkg/errors"
"github.com/sourcegraph/campaignutils/jsonschema"
"github.com/sourcegraph/batch-change-utils/jsonschema"
yamlv3 "gopkg.in/yaml.v3"
)
......
......@@ -15,7 +15,7 @@ func TestUnmarshalValidate(t *testing.T) {
schema := `{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/sourcegraph/campaignutils/schema/test.schema.json",
"$id": "https://github.com/sourcegraph/batch-change-utils/schema/test.schema.json",
"type": "object",
"properties": {
"a": { "type": "string" },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment