go-pulse/graphql/internal/graphiql/build.go
Sina Mahmoodi b46d37ea52
graphql: upgrade UI to v2 (#27294)
Upgrades  graphiql to v2.4.4. The interface has become much nicer, and there are extra features like tabs, history, dark mode etc.

This change also now uses golang embed to bundle the resources.

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-05-22 08:15:05 -04:00

9 lines
88 B
Go

package graphiql
import (
"embed"
)
//go:embed *.js *.css *.html
var Assets embed.FS