Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
doc/progs/run
doc/progs/run
+2
-2
doc/progs/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