14 lines
214 B
Go
14 lines
214 B
Go
package indexer
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func SetupRoutes(r *gin.RouterGroup) {
|
|
r.GET("/", func(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"message": "hello from indexer"})
|
|
})
|
|
}
|