commit | aa35264064ba97668fab8736503e428bde0b656c | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Thu Nov 08 23:43:13 2018 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Fri Nov 09 00:22:02 2018 |
tree | e3e8665029ed0facb81055c81bfe9e4a8c72b94c | |
parent | 22fd5b54087638da98f509faada9f771903eddc3 [diff] |
font/sfnt: rename ExampleRasterizeGlyph to Example_rasterizeGlyph This change renames the example to follow correct naming convention, as documented at https://godoc.org/testing#hdr-Examples. As a result, it shows up in godoc. This issue was caught and reported by vet: $ go vet golang.org/x/image/font/sfnt # golang.org/x/image/font/sfnt_test font/sfnt/example_test.go:19: ExampleRasterizeGlyph refers to unknown identifier: RasterizeGlyph Fixes golang/go#28684 Change-Id: I2749c638c5f3ed15e4db0448bc7a5e2c12c056e5 Reviewed-on: https://go-review.googlesource.com/c/148576 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This repository holds supplementary Go image libraries.
The easiest way to install is to run go get -u golang.org/x/image/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/image
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the image repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/image:” in the subject line, so it is easy to find.