зеркало из https://github.com/golang/scratch.git
grantseltzer: add main.go for Gophercon
Change-Id: I00dd1d941d28682d33db888f9997fade686e3e93 Signed-off-by: grantseltzer <grantseltzer@gmail.com> Reviewed-on: https://go-review.googlesource.com/48781 Reviewed-by: Jessica Frazelle <me@jessfraz.com>
This commit is contained in:
Родитель
add5a2bbc1
Коммит
79b6939b14
|
@ -0,0 +1,14 @@
|
|||
// Copyright 2017 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Printf("%d is the year of linux on the desktop\n", time.Now().Year())
|
||||
}
|
Загрузка…
Ссылка в новой задаче