Skip to content

Commit ca8fd8a

Browse files
authored
Merge pull request #56 from Trundle/update-to-v6
Update go.mod and imports to v6
2 parents 4c2fbb1 + c71c196 commit ca8fd8a

39 files changed

+70
-70
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"fmt"
1919
"io/ioutil"
2020

21-
"github.com/philandstuff/dhall-golang/v5"
21+
"github.com/philandstuff/dhall-golang/v6"
2222
)
2323

2424
// Config can be a fairly arbitrary Go datatype. You would put your

binary/cbor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"path"
99

1010
"github.com/fxamacker/cbor/v2"
11-
. "github.com/philandstuff/dhall-golang/v5/term"
11+
. "github.com/philandstuff/dhall-golang/v6/term"
1212
)
1313

1414
var nameToBuiltin = map[string]Term{

binary/performance_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
"path"
88
"testing"
99

10-
"github.com/philandstuff/dhall-golang/v5/binary"
11-
"github.com/philandstuff/dhall-golang/v5/core"
12-
"github.com/philandstuff/dhall-golang/v5/imports"
13-
"github.com/philandstuff/dhall-golang/v5/internal"
14-
"github.com/philandstuff/dhall-golang/v5/term"
10+
"github.com/philandstuff/dhall-golang/v6/binary"
11+
"github.com/philandstuff/dhall-golang/v6/core"
12+
"github.com/philandstuff/dhall-golang/v6/imports"
13+
"github.com/philandstuff/dhall-golang/v6/internal"
14+
"github.com/philandstuff/dhall-golang/v6/term"
1515
)
1616

1717
func BenchmarkDecodeLargeExpression(b *testing.B) {

binary/semantic_hash.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bytes"
55
"crypto/sha256"
66

7-
"github.com/philandstuff/dhall-golang/v5/core"
7+
"github.com/philandstuff/dhall-golang/v6/core"
88
)
99

1010
// SemanticHash returns the semantic hash of an evaluated expression.

cmd/json.go

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

8-
"github.com/philandstuff/dhall-golang/v5"
8+
"github.com/philandstuff/dhall-golang/v6"
99
"github.com/urfave/cli/v2" // imports as package "cli"
1010
)
1111

cmd/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"log"
77
"os"
88

9-
"github.com/philandstuff/dhall-golang/v5/binary"
10-
"github.com/philandstuff/dhall-golang/v5/core"
11-
"github.com/philandstuff/dhall-golang/v5/imports"
12-
"github.com/philandstuff/dhall-golang/v5/parser"
9+
"github.com/philandstuff/dhall-golang/v6/binary"
10+
"github.com/philandstuff/dhall-golang/v6/core"
11+
"github.com/philandstuff/dhall-golang/v6/imports"
12+
"github.com/philandstuff/dhall-golang/v6/parser"
1313
"github.com/urfave/cli/v2" // imports as package "cli"
1414
)
1515

cmd/yaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/philandstuff/dhall-golang/v5"
7+
"github.com/philandstuff/dhall-golang/v6"
88
"github.com/urfave/cli/v2" // imports as package "cli"
99
"gopkg.in/yaml.v2"
1010
)

core/ast.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"math"
66

7-
"github.com/philandstuff/dhall-golang/v5/term"
7+
"github.com/philandstuff/dhall-golang/v6/term"
88
)
99

1010
// A Value is a Dhall value in beta-normal form. You can think of

core/builtins.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"strings"
66

7-
"github.com/philandstuff/dhall-golang/v5/term"
7+
"github.com/philandstuff/dhall-golang/v6/term"
88
)
99

1010
func (naturalBuild) Call(x Value) Value {

core/builtins_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package core_test
33
import (
44
. "github.com/onsi/ginkgo/extensions/table"
55
. "github.com/onsi/gomega"
6-
"github.com/philandstuff/dhall-golang/v5/core"
7-
"github.com/philandstuff/dhall-golang/v5/parser"
6+
"github.com/philandstuff/dhall-golang/v6/core"
7+
"github.com/philandstuff/dhall-golang/v6/parser"
88
)
99

1010
var _ = DescribeTable("ArgType of builtins", func(src, typ string) {

0 commit comments

Comments
 (0)