From 7d1717f8f6d122e766c175c87f615a4af3c7a15b Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 10 Sep 2008 17:11:04 -0700 Subject: growing the tutorial R=gri OCL=15115 CL=15115 --- doc/progs/helloworld.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/progs/helloworld.go (limited to 'doc/progs/helloworld.go') diff --git a/doc/progs/helloworld.go b/doc/progs/helloworld.go new file mode 100644 index 000000000..b77b72088 --- /dev/null +++ b/doc/progs/helloworld.go @@ -0,0 +1,9 @@ +// Copyright 2009 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 + +func main() { + print("Hello, world; or Καλημέρα κόσμε; or こんにちは 世界\n"); +} -- cgit v1.2.3