Permalink
Browse files

hello world

  • Loading branch information...
1 parent 2ee6b2d commit 7a305b4a9804749d564aa472cc5e1dbaccc79607 @thejoshwolfe committed Jun 1, 2011
Showing with 25 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +16 −0 Makefile
  3. +7 −0 hello.go
View
@@ -0,0 +1,2 @@
+_go_.[568]
+blokus
View
@@ -0,0 +1,16 @@
+
+# GOROOT must be set.
+ifeq ($(GOROOT),)
+ $(error $$GOROOT is not set; use gomake or set $$GOROOT in your environment)
+endif
+include $(GOROOT)/src/Make.inc
+
+TARG=blokus
+GOFILES:=$(wildcard *.go)
+
+include $(GOROOT)/src/Make.cmd
+
+.PHONY: fmt
+fmt:
+ gofmt -w $(GOFILES)
+
View
@@ -0,0 +1,7 @@
+package main
+
+import fmt "fmt"
+
+func main() {
+ fmt.Printf("Hello, World!\n")
+}

0 comments on commit 7a305b4

Please sign in to comment.