Spaces:
Runtime error
Runtime error
Download main.go from lifedebugger/pweb-api-ets: direct link, hf CLI and curl.
- Browser
- Download file 243 Bytes
-
https://huggingface.co/spaces/lifedebugger/pweb-api-ets/resolve/main/main.go
- Command line
-
hf download hf://spaces/lifedebugger/pweb-api-ets/main.go
-
curl -L -o main.go https://huggingface.co/spaces/lifedebugger/pweb-api-ets/resolve/main/main.go
243 Bytes
| package main | |
| import ( | |
| "fmt" | |
| "pweb-api.abdanhafidz.com/config" | |
| "pweb-api.abdanhafidz.com/router" | |
| ) | |
| func main() { | |
| fmt.Println("Server started on ", config.TCP_ADDRESS, ", port :", config.HOST_PORT) | |
| router.StartService() | |
| } | |