Registry / utility / shurcool-gofontwoff

shurcool-gofontwoff

JSON →
library0.0.0-20230909172842-a36d5fd8747agogounverified

A Go package that statically embeds the Go font family in WOFF format and exposes it via an http.FileSystem.

go get github.com/shurcooL/gofontwoff
INSTALL
IMPORT
SIG · SHURCOOL-GOFONTWOF
S
shurcool-gofontwoff
utilitygov0.0.0-20230909172842-a36d5fd8747a
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gofontwoff
github.com/shurcooL/gofontwoff

Serves Go font WOFF files over HTTP.

package main import ( "net/http" "github.com/shurcooL/gofontwoff" ) func main() { http.Handle("/fonts/", http.StripPrefix("/fonts/", http.FileServer(gofontwoff.Assets))) http.ListenAndServe(":8080", nil) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230909172842-a36d5fd8747alatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
shurcool-gofontwoff — go get shurcool-gofontwoff · libregistry