Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
6990bc12
Commit
6990bc12
authored
Jan 31, 2011
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/progs: make sure all programs compile and run
Fixes #1455. R=rsc CC=golang-dev
https://golang.org/cl/4079055
parent
31d7efd4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
run
doc/progs/run
+2
-2
strings.go
doc/progs/strings.go
+0
-1
No files found.
doc/progs/run
View file @
6990bc12
...
...
@@ -29,9 +29,8 @@ for i in \
sieve.go
\
sieve1.go
\
server1.go
\
strings.go
\
;
do
BASE
=
$(
basename
$i
.go
)
$GC
$i
done
...
...
@@ -58,6 +57,7 @@ testit helloworld "" "Hello, world; or Καλημέρα κόσμε; or こんに
testit helloworld3
""
"hello, world can't open file; err=no such file or directory"
testit
echo
"hello, world"
"hello, world"
testit
sum
""
"6"
testit strings
""
""
alphabet
=
abcdefghijklmnopqrstuvwxyz
rot13
=
nopqrstuvwxyzabcdefghijklm
...
...
doc/progs/strings.go
View file @
6990bc12
...
...
@@ -4,7 +4,6 @@
package
main
import
"fmt"
import
"os"
func
main
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment