-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Shinichiro Aska edited this page Feb 4, 2023
·
3 revisions
How to localtest
$ gcloud beta emulators firestore start --project=pname --host-port 0.0.0.0:8000
$ git clone [email protected]:go-generalize/volcago.git
$ cd volcago
$ make bootstrap
$ export PATH="$PATH:$PWD/bin"
$ make gen_samples
$ make test TEST_OPT='-tags="emulator"
Change Source and Test
$ make build
$ go generate ./...
$ make test TEST_OPT='-tags="emulator"
Troubleshooting
$ find . -type f -name \*_gen.go -delete
$ make build
$ go generate ./...
# generated _gen.go ...etc
$ go generate ./...
# generated mock