utils: make repo safe for "go build ./..."

This directory contains two separate helper programs
that can be run with "go run". It's not possible to cd into
the directory and run "go build", because there are two
different Go source files defining main.main.

The canonical way to indicate this is to put a "// +build ignore"
build tag at the top of such helper programs.
Then they can still be run by

	go run decode_auth.go
	go run test_auth.go

but will not be considered by "cd utils; go build" nor by
commands like "go build ./..." or "go test ./..." in the
root of the repo.
This commit is contained in:
Russ Cox 2018-05-24 22:55:54 -04:00
parent 2a7c173f9e
commit 7b9c9198d5
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// +build ignore
package main
import (

View File

@ -1,3 +1,5 @@
// +build ignore
package main
import (