Browse files

Create really_basic.go

  • Loading branch information...
1 parent 6618de4 commit cdba5c927bbc3545d724ea01bf7c86fdf7e355d4 @ahbishop committed Mar 26, 2013
Showing with 15 additions and 0 deletions.
  1. +15 −0 really_basic.go
View
15 really_basic.go
@@ -0,0 +1,15 @@
+package main
+import (
+ "fmt"
+ "os"
+ "strings"
+)
+
+func main()
+{
+ da_var := "Sup sup"
+ if len(os.Args) > 1 {
+ da_var = strings.Join(os.Args[1:], " ")
+ }
+ fmt.Println("I can haz: ", da_var)
+}

0 comments on commit cdba5c9

Please sign in to comment.