forked from ebhomengo/niki
Merge pull request 'cmd folder was created' (#255) from fix/staffapp-cmd into develop
Reviewed-on: ebhomengo/niki#255 Reviewed-by: hossein <h.nazari1990@gmail.com>
This commit is contained in:
commit
a193abeb56
|
|
@ -0,0 +1,15 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"log"
|
||||||
|
"net/http"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println(" Staffapp Server Starting...")
|
||||||
|
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
fmt.Fprintf(w, "Staffapp OK!")
|
||||||
|
})
|
||||||
|
log.Fatal(http.ListenAndServe(":8080", nil))
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue