Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/GoEvJo/Avatar-me

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/GoEvJo/Avatar-me

  • v0.2.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

Avatar-me

Given personal information, such as an email address, an IP address or a public key, a unique avatar is generated. (Repository belonging to the Golang course)

How to

The information must be entered as a string to TheInfo variable:

avatar.TheInfo = "This is an example"

Next is running DefaultFeaturesGeneration, function wich provides a pointer to a struct containing the interfaces needed, and an error if it occurs:

utilitiesNeeded , err := avatar.DefaultFeaturesGeneration()

Finally the identicon can be made and saved as an .png image, named after string contained in avatar.TheInfo using GenerateAndSaveAvatar() that return an error, if it occurs:

err = aver.GenerateAndSaveAvatar()

FAQs

Package last updated on 13 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc