cameron

package module
Version: v1.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 4 Imported by: 2

README

Cameron

GitHub Actions codecov Go Report Card PkgGoDev

An avatar generator for Go.

Oh, by the way, the name of this project came from the Avatar's director James Cameron.

Features

Installation

Open your terminal and execute

$ go get github.com/aofei/cameron

done.

The only requirement is the Go, at least v1.13.

Examples

If you want to be familiar with Cameron as soon as possible, simply visit here.

Community

If you want to discuss Cameron, or ask questions about it, simply post questions or ideas here.

Contributing

If you want to help build Cameron, simply follow this to send pull requests here.

TODOs

  • Add support for cartoon avatar
  • Add support for simulation avatar

License

This project is licensed under the MIT License.

License can be found here.

Documentation

Overview

Package cameron implements an avatar generator for Go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Identicon

func Identicon(data []byte, length, blockLength int) image.Image

Identicon returns an identicon avatar based on the data with the length and blockLength. Same parameters, same result.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL