avatar

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultAvatars = []string{
	"https://file.mlog.club/avatar/club_default_avatar1.png",
	"https://file.mlog.club/avatar/club_default_avatar2.png",
	"https://file.mlog.club/avatar/club_default_avatar3.png",
	"https://file.mlog.club/avatar/club_default_avatar4.png",
	"https://file.mlog.club/avatar/club_default_avatar5.png",
	"https://file.mlog.club/avatar/club_default_avatar6.png",
}

Functions

func GetDefaultAvatar

func GetDefaultAvatar(id int64) string

获取默认头像

func IsDefaultAvatar

func IsDefaultAvatar(avatar string) bool

是否是默认头像

Types

This section is empty.

Jump to

Keyboard shortcuts

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