Registry / utility / o1egl-govatar

o1egl-govatar

JSON →
library0.4.1gogounverified

A Go library for generating random avatar images (male, female, or robot) programmatically.

go get github.com/o1egl/govatar
INSTALL
IMPORT
SIG · O1EGL-GOVATAR
O
o1egl-govatar
utilitygov0.4.1
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.

govatar
github.com/o1egl/govatar

Generate a male avatar and save it as a PNG file.

package main import ( "os" "github.com/o1egl/govatar" ) func main() { img, err := govatar.Generate(govatar.MALE) if err != nil { panic(err) } f, _ := os.Create("avatar.png") defer f.Close() govatar.Save(img, f) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
o1egl-govatar — go get o1egl-govatar · libregistry