revive

package
v0.0.0-...-7ef5e58 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package revive a demo code copy from https://github.com/mgechev/revive/issues/1066

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(b bool) Config

func (Config) WithI

func (c Config) WithI(i int) Config

func (Config) WithM

func (c Config) WithM(m map[int]bool) Config

type Thing

type Thing struct {
	// contains filtered or unexported fields
}

func NewThing

func NewThing(cfg Config) *Thing

Jump to

Keyboard shortcuts

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