utils

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Writer = uilive.New()
	Red    = color.New(color.FgRed).SprintFunc()
	Green  = color.New(color.FgGreen).SprintFunc()
	Yellow = color.New(color.FgYellow).SprintFunc()
	Blue   = color.New(color.FgBlue).SprintFunc()
	Purple = color.New(color.FgHiMagenta).SprintFunc()
	Cyan   = color.New(color.FgCyan).SprintFunc()
	HiBlue = color.New(color.FgHiBlue).SprintFunc()
)

Functions

func Dir

func Dir(u *goinsta.User) string

func GetCurrDir

func GetCurrDir() string

func GetSpinner

func GetSpinner() *spinner.Spinner

func GetUser

func GetUser(insta *goinsta.Instagram, username string) *goinsta.User

func SearchMenu

func SearchMenu(query string, insta *goinsta.Instagram) *goinsta.User

Types

This section is empty.

Jump to

Keyboard shortcuts

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