Skip to content

Commit

Permalink
Remove vanity import in favor of github.com/fvbommel/util
Browse files Browse the repository at this point in the history
Fixes #5.
Fixes #6.
  • Loading branch information
fvbommel committed Aug 28, 2020
1 parent efcd4e0 commit c69461e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## util [![GoDoc](https://godoc.org/vbom.ml/util?status.svg)](https://godoc.org/vbom.ml/util)
# util [![GoDoc](https://godoc.org/github.com/fvbommel/util?status.svg)](https://godoc.org/github.com/fvbommel/util)

import "vbom.ml/util"
import "github.com/fvbommel/util"

Go utility packages.
2 changes: 1 addition & 1 deletion cmd/short-regexp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"strings"

"vbom.ml/util"
"github.com/fvbommel/util"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Package util includes various small pieces of code.
package util // import "vbom.ml/util"
package util
4 changes: 2 additions & 2 deletions rope/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## rope [![GoDoc](https://godoc.org/vbom.ml/util/rope?status.svg)](https://godoc.org/vbom.ml/util/rope)
# rope [![GoDoc](https://godoc.org/github.com/fvbommel/util/rope?status.svg)](https://godoc.org/github.com/fvbommel/util/rope)

import "vbom.ml/util/rope"
import "github.com/fvbommel/util/rope"

Package rope implements a "heavy-weight string", which represents very long strings more efficiently (especially when many concatenations are performed).

Expand Down
2 changes: 1 addition & 1 deletion rope/rope.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Rope values are immutable, so each operation returns its result instead
// of modifying the receiver. This immutability also makes them thread-safe.
package rope // import "vbom.ml/util/rope"
package rope

import (
"bytes"
Expand Down
4 changes: 2 additions & 2 deletions sortorder/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## sortorder [![GoDoc](https://godoc.org/vbom.ml/util/sortorder?status.svg)](https://godoc.org/vbom.ml/util/sortorder)
# sortorder [![GoDoc](https://godoc.org/github.com/fvbommel/util/sortorder?status.svg)](https://godoc.org/github.com/fvbommel/util/sortorder)

import "vbom.ml/util/sortorder"
import "github.com/fvbommel/util/sortorder"

Sort orders and comparison functions.
2 changes: 1 addition & 1 deletion sortorder/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
//
// Currently, it only implements so-called "natural order", where integers
// embedded in strings are compared by value.
package sortorder // import "vbom.ml/util/sortorder"
package sortorder

0 comments on commit c69461e

Please sign in to comment.