mirror of
https://github.com/golang/go
synced 2024-10-05 18:21:21 -06:00
3ee87d02b0
Also: - faster code for example extraction - simplify handling of command documentation: all "main" packages are treated as commands - various minor cleanups along the way For commands written in Go, any doc.go file containing documentation must now be part of package main (rather then package documentation), otherwise the documentation won't show up in godoc (it will still build, though). For commands written in C, documentation may still be in doc.go files defining package documentation, but the recommended way is to explicitly ignore those files with a +build ignore constraint to define package main. Fixes #4806. R=adg, rsc, dave, bradfitz CC=golang-dev https://golang.org/cl/7333046
16 lines
369 B
Go
16 lines
369 B
Go
// Copyright 2009 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build ignore
|
|
|
|
/*
|
|
|
|
5g is the version of the gc compiler for the ARM.
|
|
The $GOARCH for these tools is arm.
|
|
|
|
It reads .go files and outputs .5 files. The flags are documented in ../gc/doc.go.
|
|
|
|
*/
|
|
package main
|