mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-02 23:27:31 -04:00
all: gofmt
Gofmt to update doc comments to the new formatting. For golang/go#51082. Change-Id: I9a1c4b671c06820a1c383ee515f7884965fefa54 Reviewed-on: https://go-review.googlesource.com/c/sys/+/399602 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Russ Cox <rsc@golang.org>
This commit is contained in:
@@ -6,18 +6,20 @@
|
||||
// consts, funcs, and types into a common source file, per GOOS.
|
||||
//
|
||||
// Usage:
|
||||
// $ mkmerge -out MERGED FILE [FILE ...]
|
||||
//
|
||||
// $ mkmerge -out MERGED FILE [FILE ...]
|
||||
//
|
||||
// Example:
|
||||
// # Remove all common consts, funcs, and types from zerrors_linux_*.go
|
||||
// # and write the common code into zerrors_linux.go
|
||||
// $ mkmerge -out zerrors_linux.go zerrors_linux_*.go
|
||||
//
|
||||
// # Remove all common consts, funcs, and types from zerrors_linux_*.go
|
||||
// # and write the common code into zerrors_linux.go
|
||||
// $ mkmerge -out zerrors_linux.go zerrors_linux_*.go
|
||||
//
|
||||
// mkmerge performs the merge in the following steps:
|
||||
// 1. Construct the set of common code that is identical in all
|
||||
// architecture-specific files.
|
||||
// 2. Write this common code to the merged file.
|
||||
// 3. Remove the common code from all architecture-specific files.
|
||||
// 1. Construct the set of common code that is identical in all
|
||||
// architecture-specific files.
|
||||
// 2. Write this common code to the merged file.
|
||||
// 3. Remove the common code from all architecture-specific files.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user