diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-05-01 07:56:25 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-05-01 07:56:25 -0600 |
commit | 9a2da81b11ad0064cca24ce7974827d032309369 (patch) | |
tree | 4313224dc089208423e78bffc3ec50833e35bcea /gopher/gophermap | |
parent | 21e2758145d100d74013060f7090d84679cae683 (diff) |
name change gus -> sliderule
Diffstat (limited to 'gopher/gophermap')
-rw-r--r-- | gopher/gophermap/parse.go | 6 | ||||
-rw-r--r-- | gopher/gophermap/parse_test.go | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gopher/gophermap/parse.go b/gopher/gophermap/parse.go index 302aef0..17fe833 100644 --- a/gopher/gophermap/parse.go +++ b/gopher/gophermap/parse.go @@ -7,8 +7,8 @@ import ( "fmt" "io" - "tildegit.org/tjp/gus" - "tildegit.org/tjp/gus/gopher" + sr "tildegit.org/tjp/sliderule" + "tildegit.org/tjp/sliderule/gopher" ) // Parse reads a gophermap document from a reader. @@ -30,7 +30,7 @@ func Parse(input io.Reader) (gopher.MapDocument, error) { return nil, InvalidLine(num) } - item := gopher.MapItem{Type: gus.Status(line[0])} + item := gopher.MapItem{Type: sr.Status(line[0])} spl := bytes.Split(line[1:len(line)-2], []byte{'\t'}) if len(spl) != 4 { diff --git a/gopher/gophermap/parse_test.go b/gopher/gophermap/parse_test.go index 0e5c09e..51a430e 100644 --- a/gopher/gophermap/parse_test.go +++ b/gopher/gophermap/parse_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "tildegit.org/tjp/gus/gopher" - "tildegit.org/tjp/gus/gopher/gophermap" + "tildegit.org/tjp/sliderule/gopher" + "tildegit.org/tjp/sliderule/gopher/gophermap" ) func TestParse(t *testing.T) { |