This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"strings" | |
) | |
type foo int | |
const ( | |
One foo = iota |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include $(GOROOT)/src/Make.inc | |
TARG=l | |
DEP= | |
GOFILES=\ | |
main.go\ | |
pkgdir=$(GOROOT)/pkg/$(GOOS)_$(GOARCH) | |
PREREQ+=$(foreach PKG,$(DEP),$(pkgdir)/$(PKG).a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
### Usage: blah [<options>] | |
### | |
### Description of the script | |
### | |
### Options: | |
### -f --flag | |
### Description of the flag | |
### -o --option <arg> | |
### Description of the option and argument |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
"sync" | |
) | |
// A Token represents resources allocated. It must be given | |
// back to the Manager to free the resource. |
NewerOlder