remove unused code

This commit is contained in:
2024-10-10 07:39:25 +07:00
parent 6ff4efec2c
commit c744f87501

View File

@@ -35,7 +35,6 @@ func main() {
r := gin.Default()
v1 := r.Group("/api")
r.POST("/test", testHandler)
subspesialis := v1.Group("/subspesialis")
{
@@ -76,8 +75,4 @@ func main() {
if err != nil {
log.Fatal(err)
}
}
func testHandler(c *gin.Context) {
err := errors.New("Nomor SEP tidak ditemukan")
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
}
}