Formatted code
This commit is contained in:
@@ -7,7 +7,6 @@ import "net/http"
|
|||||||
import "git.kundeng.us/phoenix/textsender-api/internal/config"
|
import "git.kundeng.us/phoenix/textsender-api/internal/config"
|
||||||
import "git.kundeng.us/phoenix/textsender-api/internal/handler"
|
import "git.kundeng.us/phoenix/textsender-api/internal/handler"
|
||||||
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println(config.APP_NAME)
|
fmt.Println(config.APP_NAME)
|
||||||
|
|
||||||
|
|||||||
@@ -12,4 +12,3 @@ func RespondWithJSON(w http.ResponseWriter, statusCode int, data interface{}) {
|
|||||||
log.Printf("Error encoding JSON: %v", err)
|
log.Printf("Error encoding JSON: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -2,6 +2,6 @@ package version
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
Version = "dev"
|
Version = "dev"
|
||||||
Commit = "none"
|
Commit = "none"
|
||||||
Date = "unknown"
|
Date = "unknown"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user