Download api/setup.go from wnm168/odtool: direct link, hf CLI and curl.
- Browser
- Download file 185 Bytes
-
https://huggingface.co/spaces/wnm168/odtool/resolve/main/api/setup.go
- Command line
-
hf download hf://spaces/wnm168/odtool/api/setup.go
-
curl -L -o setup.go https://huggingface.co/spaces/wnm168/odtool/resolve/main/api/setup.go
185 Bytes
| package api | |
| import ( | |
| "github.com/gin-gonic/gin" | |
| ) | |
| func Setup(g *gin.RouterGroup) { | |
| g.POST("/onedrive/get_refresh_token", onedriveToken) | |
| g.POST("/onedrive/get_site_id", spSiteID) | |
| } | |