mirror of
https://github.com/pikami/cosmium.git
synced 2024-11-25 06:57:10 +00:00
13 lines
217 B
Go
13 lines
217 B
Go
|
package handlers
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
|
||
|
"github.com/gin-gonic/gin"
|
||
|
"github.com/pikami/cosmium/internal/repositories"
|
||
|
)
|
||
|
|
||
|
func CosmiumExport(c *gin.Context) {
|
||
|
c.IndentedJSON(http.StatusOK, repositories.GetState())
|
||
|
}
|