implement api
This commit is contained in:
14
main_test.go
Normal file
14
main_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"go-nkode/core/api"
|
||||
"net/http"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestMain(t *testing.T) {
|
||||
base := "http://localhost:8080"
|
||||
|
||||
resp, err := http.Post(base+api.CreateNewCustomer, "application/json")
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user