Minor fix.

This commit is contained in:
genxium 2022-12-23 17:46:44 +08:00
parent 69e6baf8e7
commit 9d03794e49
2 changed files with 6 additions and 5 deletions

View File

@ -3,7 +3,7 @@ module viscol
go 1.18 go 1.18
require ( require (
battle_srv v0.0.0 jsexport v0.0.0
dnmshared v0.0.0 dnmshared v0.0.0
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
github.com/hajimehoshi/ebiten/v2 v2.4.7 github.com/hajimehoshi/ebiten/v2 v2.4.7
@ -38,6 +38,7 @@ require (
google.golang.org/protobuf v1.28.1 // indirect google.golang.org/protobuf v1.28.1 // indirect
) )
replace dnmshared => ../dnmshared replace (
dnmshared => ../dnmshared
replace battle_srv => ../battle_srv jsexport => ../jsexport
)

View File

@ -1,7 +1,7 @@
package main package main
import ( import (
. "battle_srv/protos" . "jsexport/protos"
. "dnmshared" . "dnmshared"
. "dnmshared/sharedprotos" . "dnmshared/sharedprotos"
"fmt" "fmt"