internal

package
v0.0.0-...-b474970 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm

func Confirm(s string) (bool, error)

Confirm displays a prompt `s` to the user and returns a bool indicating yes / no answer. Confirm limits the maximum amount of unrecognized inputs to 3, then exits with false.

Types

type LinkProcessor

type LinkProcessor struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewLinkProcessor

func NewLinkProcessor(c *cfg.Config, l log.Interface) *LinkProcessor

func (*LinkProcessor) Process

func (lp *LinkProcessor) Process(ctx context.Context, links []models.Link) []models.Fix

Directories

Path Synopsis
Package callonce implements concurrent call suppression and cache mechanism.
Package callonce implements concurrent call suppression and cache mechanism.
Package clients provides clients to various external APIs.
Package clients provides clients to various external APIs.
Package printers provides various printing implementation that can be used to print/display found link issues.
Package printers provides various printing implementation that can be used to print/display found link issues.

Jump to

Keyboard shortcuts

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