utils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Paquete que se encarga de leer, administrar y actualizar las configuraciones

del usuario

Index

Constants

View Source
const URL = "https://api.unsplash.com/"

Variables

This section is empty.

Functions

func GetConfiguredPaths added in v1.2.4

func GetConfiguredPaths() []string

Return all folders configured by the user in the configuration file

func SetConfig added in v1.2.4

func SetConfig(paths string) *os.File

Creates the config folder and the config.json if is not created yet

func SetRandomImage added in v1.3.0

func SetRandomImage()

Types

type Path

type Path struct {
	Paths []string
}

Jump to

Keyboard shortcuts

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