Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Create really_basic.go

  • Loading branch information...
commit cdba5c927bbc3545d724ea01bf7c86fdf7e355d4 1 parent 6618de4
@ahbishop authored
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)
+}
Please sign in to comment.
Something went wrong with that request. Please try again.