Versions in this module Expand all Collapse all v1 v1.0.0 Jun 19, 2026 Changes in this version + func Encode(data []byte, contentType string) string + func EncodeFile(path string) (string, error) + func EncodeImage(img image.Image, format ImageFormat) (string, error) + type ImageFormat string + const FormatJPEG + const FormatPNG