This commit is contained in:
LibreHacker 2020-08-10 13:25:25 +03:00
parent c813c10c8c
commit addbd2644a
4 changed files with 18 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.o

View File

@ -1,2 +1,2 @@
# OpenPrice
WIP

14
main.go Normal file
View 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
View File

@ -0,0 +1,2 @@
all:
go run main.go