mirror of
https://github.com/vbatts/talks.git
synced 2025-05-24 13:52:30 +00:00
2015-devnation: copying devconf talk
This commit is contained in:
parent
5149d7ec5e
commit
65363d37c3
18 changed files with 482 additions and 0 deletions
20
2015/06-devnation-golang-good-bad-ugly/good1.go
Normal file
20
2015/06-devnation-golang-good-bad-ugly/good1.go
Normal file
|
@ -0,0 +1,20 @@
|
|||
// +build ignore
|
||||
|
||||
package main
|
||||
|
||||
// START1 OMIT
|
||||
// exported
|
||||
type Foo struct {
|
||||
Bar string // exported
|
||||
baz bool // private
|
||||
}
|
||||
|
||||
// private
|
||||
type bif struct {
|
||||
Harf, Buz int64 // doesn't matter
|
||||
}
|
||||
|
||||
// STOP1 OMIT
|
||||
|
||||
func main() {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue