mirror of
https://github.com/pikami/cosmium.git
synced 2025-09-18 11:05:53 +01:00
18 lines
283 B
Go
18 lines
283 B
Go
package handlers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/pikami/cosmium/api/headers"
|
|
)
|
|
|
|
func GetOffers(c *gin.Context) {
|
|
c.Header(headers.ItemCount, "0")
|
|
c.IndentedJSON(http.StatusOK, gin.H{
|
|
"_rid": "",
|
|
"_count": 0,
|
|
"Offers": []interface{}{},
|
|
})
|
|
}
|