func main() {
http.HandleFunc("/", func(writer http.ResponseWriter, request *http.Request) {
message := strings.Join([]string{"Hello", "world!"}, " ")
_, err := writer.Write([]byte(message))
if err != nil {
panic(err)
}
})
if err := http.ListenAndServe(":8080", nil); err != nil {
panic(err)
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
hajisml/hajisml
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
" We are not the same, I am a martian" - Lil Wayne
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published