Move code to internal cmd/main
This commit is contained in:
parent
3796ee09a3
commit
cd6a275bb9
2 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
package main
|
||||
package internal
|
||||
|
||||
import (
|
||||
"log"
|
|
@ -10,6 +10,7 @@ import (
|
|||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/mdiluz/rove/cmd/rove/internal"
|
||||
"github.com/mdiluz/rove/pkg/maths"
|
||||
"github.com/mdiluz/rove/pkg/version"
|
||||
"github.com/mdiluz/rove/proto/roveapi"
|
||||
|
@ -287,9 +288,9 @@ func InnerMain(command string, args ...string) error {
|
|||
t := response.Tiles[i+num*j]
|
||||
o := response.Objects[i+num*j]
|
||||
if o != roveapi.Object_ObjectUnknown {
|
||||
fmt.Printf("%c", ObjectGlyph(o))
|
||||
fmt.Printf("%c", internal.ObjectGlyph(o))
|
||||
} else {
|
||||
fmt.Printf("%c", TileGlyph(t))
|
||||
fmt.Printf("%c", internal.TileGlyph(t))
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue