The configuration checker for Tableau.
- Init project:
bash init.sh
- Generate
*.pb.goand*.check.go:bash test/gen.sh - Test:
cd test && go test ./... - Run directly:
cd test && go run .
We suggest to use strict mode for detecting and excluding auto-generate files in checker project.
An example .golangci.yaml is as follows:
version: "2"
linters:
exclusions:
generated: strictSubmodules dependency:
- loader:
loader/cmd/protoc-gen-go-tableau-loader - tableau:
tableau/proto/tableau.proto - protobuf:
protobuf/src/*.protoandprotoc