image: golang:1.13
stages:
- test
- build
test:
stage: test
script:
- go generate ./...
- go test ./...
build:
stage: build
- go build