Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove Makefile for Go 1

  • Loading branch information...
commit be0195970d35ee5ad9f5e5964f2895d4a05900fd 1 parent dc0a4e1
@kicool authored
View
16 README
@@ -1,5 +1,19 @@
-4 samples:
+5 samples:
hello
echo
sum
+ math
alloc
+
+*.Binary file compare
+Linux svr-ubuntu-mirror 2.6.35-22-server #35-Ubuntu SMP Sat Oct 16 22:02:33 UTC 2010 x86_64 GNU/Linux
+go version weekly.2012-03-04 +f4470a54e6db
+
+hello/hello:1394075B
+ ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
+ text data bss dec hex filename
+ 904179 54424 33666992 34625595 210583b hello/hello
+mini/mini:260122B
+ ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
+ text data bss dec hex filename
+ 146285 8816 33665640 33820741 2041045 mini/mini
View
11 alloc/Makefile
@@ -1,11 +0,0 @@
-# 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.
-
-include ${GOROOT}/src/Make.inc
-
-TARG=alloc
-GOFILES=\
- alloc.go
-
-include ${GOROOT}/src/Make.cmd
View
5 ascii/ascii.go
@@ -6,6 +6,9 @@ import (
func main() {
for i := 0; i < 0xff; i++ {
- fmt.Printf("0x%:", i)
+ fmt.Printf("0x%0X %c ", i, i)
+ if 0 == i % 8 {
+ fmt.Println()
+ }
}
}
View
11 echo/Makefile
@@ -1,11 +0,0 @@
-# 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.
-
-include ${GOROOT}/src/Make.inc
-
-TARG=echo
-GOFILES=\
- echo.go
-
-include ${GOROOT}/src/Make.cmd
View
11 guessnmb/Makefile
@@ -1,11 +0,0 @@
-# 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.
-
-include ${GOROOT}/src/Make.inc
-
-TARG=gnmb
-GOFILES=\
- ${TARG}.go
-
-include ${GOROOT}/src/Make.cmd
View
11 hello/Makefile
@@ -1,11 +0,0 @@
-# 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.
-
-include ${GOROOT}/src/Make.inc
-
-TARG=hello
-GOFILES=\
- hello.go
-
-include ${GOROOT}/src/Make.cmd
View
11 math/Makefile
@@ -1,11 +0,0 @@
-# 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.
-
-include ${GOROOT}/src/Make.inc
-
-TARG=math
-GOFILES=\
- math.go
-
-include ${GOROOT}/src/Make.cmd
View
11 mini/Makefile
@@ -1,11 +0,0 @@
-# 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.
-
-include ${GOROOT}/src/Make.inc
-
-TARG=mini
-GOFILES=\
- mini.go
-
-include ${GOROOT}/src/Make.cmd
View
11 sum/Makefile
@@ -1,11 +0,0 @@
-# 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.
-
-include ${GOROOT}/src/Make.inc
-
-TARG=sum
-GOFILES=\
- sum.go
-
-include ${GOROOT}/src/Make.cmd
View
11 swap/Makefile
@@ -1,11 +0,0 @@
-# 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.
-
-include ${GOROOT}/src/Make.inc
-
-TARG=swap
-GOFILES=\
- ${TARG}.go
-
-include ${GOROOT}/src/Make.cmd
View
2  triv/triv.go
@@ -129,7 +129,7 @@ func Logger(w http.ResponseWriter, req *http.Request) {
w.Write([]byte("oops"))
}
-var webroot = flag.String("root", "/home/kicool", "web root directory")
+var webroot = flag.String("root", "/home/kicool/go.local", "web root directory")
func main() {
flag.Parse()
Please sign in to comment.
Something went wrong with that request. Please try again.