Go Version | Score |
---|---|
1.4.3 | C |
1.5.3 | A- |
1.6rc1 | A |
Somehow, this made it into Golang Weekly.
This was a surprise to me -- only found out when I received my weekly e-mail.
It's in issue #95, here
The results follow. The versions of Go used were:
package main import ( "log" "net/http" ) func main() { http.HandleFunc("/", index) log.Fatal(http.ListenAndServeTLS(":443", "cert.pem", "key.pem", nil)) } func index(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello, and welcome!")) }