github.com/roboticscm/goman@v0.0.0-20210203095141-87c07b4a0a55/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