diff --git a/example/font/main.go b/example/font/main.go index 81aaf3f..78fd112 100644 --- a/example/font/main.go +++ b/example/font/main.go @@ -2,10 +2,11 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build ignore +// +build example // // This build tag means that "go install golang.org/x/image/..." doesn't -// install this example program. Use "go run main.go" to run it. +// install this example program. Use "go run main.go" to run it or "go install +// -tags=example" to install it. // Font is a basic example of using fonts. package main