- 09 Jun, 2016 1 commit
-
-
Kirill Smelkov authored
Just for convenience. Before (e.g. for go): kirr@teco:~$ curl http://[::1]:7778 Hello world at `/` ; Thu Jun 9 11:09:49 2016 (go)kirr@teco:~$ After: kirr@teco:~$ curl http://[::1]:7778 Hello world at `/` ; Thu Jun 9 11:10:36 2016 (go) kirr@teco:~$ Python version already emits trailing newline, because it uses `print ...` without trailing ",". /reviewed-by TrustMe
-
- 09 Nov, 2015 3 commits
-
-
Kirill Smelkov authored
Merge fixes to code formatting and naming as reported by gofmt and golint from Gabriel. see: kirr/helloweb!1
-
Gabriel Monnerat authored
Following go conventions. 'go lint' is your friend https://github.com/golang/lint Effective Go: https://golang.org/doc/effective_go.html helloweb.go:49:2: don't use underscores in Go names; var bind_ip should be bindIP helloweb.go:50:2: don't use underscores in Go names; var bind_port should be bindPort helloweb.go:51:2: don't use underscores in Go names; var bind_addr should be bindAddr
-
Gabriel Monnerat authored
'go fmt' is your friend https://blog.golang.org/go-fmt-your-code Keep the same format is good to share and maintain code
-
- 30 Oct, 2015 6 commits
-
-
Kirill Smelkov authored
Simple helloweb in Go that does the same as Python and Ruby versions. /cc @gabriel, @Camata
-
Kirill Smelkov authored
Let's show how to do simple helloweb in Ruby. The program generates the same output as Python version, only the comment about language is different. Comes with minimal gem specification, so it could be worked with / installed via Bundler, together with dependency gems, if needed. So far we use only stdlib without external gems. /cc @kazuhiko
-
Kirill Smelkov authored
We'll soon have several helloweb programs written in different languages with otherwise the same output, and it is better to distinguish them for diagnostic.
-
Kirill Smelkov authored
So that it can be installed as egg/scripts via std setuptools machinery.
-
Kirill Smelkov authored
-
Kirill Smelkov authored
This is my simple program originally from slapos.git repository: nexedi/slapos@7cd2f953 with all follow-up changes to it in slapos.git tree.
-
- 29 Oct, 2015 1 commit
-
-
Kirill Smelkov authored
A simple project showing how to say hello to the Web in different ways.
-