resolving conflicts
This commit is contained in:
@@ -17,11 +17,6 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
|||||||
fmt.Fprintf(w, "<html><body><h1>Hello, World!</h1></body></html>")
|
fmt.Fprintf(w, "<html><body><h1>Hello, World!</h1></body></html>")
|
||||||
}
|
}
|
||||||
|
|
||||||
type ErrorResponse struct {
|
|
||||||
ErrorCode string `json:"errorCode"`
|
|
||||||
Message string `json:"message"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
err := godotenv.Load()
|
err := godotenv.Load()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@@ -2,9 +2,7 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
api "fr.latosa-escrima/api"
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
core "fr.latosa-escrima/api/core"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type JSONStatus string
|
type JSONStatus string
|
||||||
|
|||||||
Reference in New Issue
Block a user