File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4
4
"github.com/hoisie/web"
5
5
)
6
6
7
- func hello (val string ) string { return "hello " + val }
7
+ func hello (val string ) string { return "hello " + val + " \n " }
8
8
9
9
func main () {
10
10
web .Get ("/(.*)" , hello )
Original file line number Diff line number Diff line change 6
6
"os"
7
7
)
8
8
9
- func hello (val string ) string { return "hello " + val }
9
+ func hello (val string ) string { return "hello " + val + " \n " }
10
10
11
11
func main () {
12
12
f , err := os .Create ("server.log" )
Original file line number Diff line number Diff line change 4
4
"github.com/hoisie/web"
5
5
)
6
6
7
- func hello1 (val string ) string { return "hello1 " + val }
7
+ func hello1 (val string ) string { return "hello1 " + val + " \n " }
8
8
9
- func hello2 (val string ) string { return "hello2 " + val }
9
+ func hello2 (val string ) string { return "hello2 " + val + " \n " }
10
10
11
11
func main () {
12
12
var server1 web.Server
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ gWrxykqyLToIiAuL+pvC3Jv8IOPIiVFsY032rOqcwSGdVUyhTsG28+7KnR6744tM
47
47
-----END CERTIFICATE-----
48
48
`
49
49
50
- func hello (val string ) string { return "hello " + val }
50
+ func hello (val string ) string { return "hello " + val + " \n " }
51
51
52
52
func main () {
53
53
config := tls.Config {
You can’t perform that action at this time.
0 commit comments