You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go-echarts is a cool blend of Golang, JSON, and JavaScript. As noted in this PR, in addition to string fragments one can also go:embed JavaScript files.
These embedded JavaScript function strings have certain requirements:
they must be quoted with single-quotes ' and not double-quotes ""
they also cannot contain comments.
Here's a TODO list in this realm:
improve documentation on restrictions on JavaScript function embedding
improve documentation on go:embed
typescript workflow example? should be able to match eCharts typings
add Golang simple linter function to pre-flight check JavaScript files
add simple linting script which can validate files
go-echarts
is a cool blend of Golang, JSON, and JavaScript. As noted in this PR, in addition to string fragments one can alsogo:embed
JavaScript files.These embedded JavaScript function strings have certain requirements:
'
and not double-quotes""
Here's a TODO list in this realm:
go:embed
The text was updated successfully, but these errors were encountered: