test
This commit is contained in:
parent
c813c10c8c
commit
addbd2644a
4 changed files with 18 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.o
|
|
@ -1,2 +1,2 @@
|
|||
# OpenPrice
|
||||
|
||||
WIP
|
||||
|
|
14
main.go
Normal file
14
main.go
Normal file
|
@ -0,0 +1,14 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func main() {
|
||||
http.HandleFunc("/test", func (w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprintf(w, "test")
|
||||
})
|
||||
|
||||
http.ListenAndServe(":8080", nil)
|
||||
}
|
2
makefile
Normal file
2
makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
all:
|
||||
go run main.go
|
Loading…
Add table
Add a link
Reference in a new issue