mirror of
https://github.com/pikami/cosmium.git
synced 2024-12-03 19:08:50 +00:00
16 lines
208 B
Go
16 lines
208 B
Go
|
package handlers
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
|
||
|
"github.com/gin-gonic/gin"
|
||
|
)
|
||
|
|
||
|
func GetOffers(c *gin.Context) {
|
||
|
c.IndentedJSON(http.StatusOK, gin.H{
|
||
|
"_rid": "",
|
||
|
"_count": 0,
|
||
|
"Offers": []interface{}{},
|
||
|
})
|
||
|
}
|