Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
qywok
/
thesis_forecasting_website
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
37f31d4
thesis_forecasting_website
/
helpers
/
to_json.go
tebakaja
deployment
03c0050
4 months ago
raw
Copy download link
history
blame
Safe
154 Bytes
package
helpers
import
(
"encoding/json"
"html/template"
)
func
ToJSON
(v
interface
{})
template.JS {
b, _ := json.Marshal(v)
return
template.JS(b)
}