github.com/golang-haiku/go-1.4.3@v0.0.0-20190609233734-1f5ae41cc308/src/cmd/go/mkdoc.sh (about) 1 #!/bin/sh 2 # Copyright 2012 The Go Authors. All rights reserved. 3 # Use of this source code is governed by a BSD-style 4 # license that can be found in the LICENSE file. 5 6 go install # So the next line will produce updated documentation. 7 go help documentation | sed 's; \*/; * /;' >doc.go 8 gofmt -w doc.go 9