cmd

package
v0.0.0-...-36ed461 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

dead code

Index

Constants

This section is empty.

Variables

View Source
var EncodingType = []string{"png"}

Functions

func CreateImage

func CreateImage(uuid_string string) string

func CreateNewImage

func CreateNewImage(uuid_string string, file_type string) (string, error)

func CreateProfilePicture

func CreateProfilePicture(file_type string) string

func ItoSA

func ItoSA(t []interface{}) []string

integer to string array

func NewProfile

func NewProfile(file_type string) string

func SaveImage

func SaveImage(fileName string, img *image.NRGBA)

Types

type EncodingTypes

type EncodingTypes struct {
	// contains filtered or unexported fields
}

type Image

type Image string

type ImageData

type ImageData struct {
	ImageString  Image
	EncodingType string
	FileType     string
}

type ProfilePicture

type ProfilePicture struct {
	UniqueID     UUIDString
	ImageDetails ImageData
	Picture      Image
}

type UUIDString

type UUIDString string

uuid.New().String() -> bit to string

func CreateID

func CreateID() UUIDString

Jump to

Keyboard shortcuts

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