mirror of
https://github.com/vbatts/talks.git
synced 2025-06-02 01:52:30 +00:00
2016-12: brush up this talk for an intro
This commit is contained in:
parent
1b8e5c7a36
commit
68f582d393
18 changed files with 513 additions and 0 deletions
18
2016/12-intro-to-golang/imports.go
Normal file
18
2016/12-intro-to-golang/imports.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
// +build ignore
|
||||
|
||||
package main
|
||||
|
||||
// START1 OMIT
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/foo/bar"
|
||||
)
|
||||
|
||||
// STOP1 OMIT
|
||||
|
||||
func main() {
|
||||
fmt.Println(bar.Baz())
|
||||
_ = os.FileInfo
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue