links

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

links describes linkMaker which receives a bunch of links, creates these and logs all outcomes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLinkMaker

func NewLinkMaker(logger Logger) linkMaker

Types

type Link struct {
	Name       string
	TargetPath string
	LinkPath   string
}

Link is a stracture that represents symbolic link to create by this package.

type Logger

type Logger interface {
	Success(message string)
	Fail(message string)
	Log(message string)
}

Jump to

Keyboard shortcuts

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