generator

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package generator downloads an updated version of the PSL list and compiles it into go code.

It is meant to be used by maintainers in conjunction with the go generate tool to update the list.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	Verbose bool
}

Generator represents a generator.

func NewGenerator

func NewGenerator() *Generator

NewGenerator creates a Generator with default settings.

func (*Generator) Print

func (g *Generator) Print() error

Print ...

func (*Generator) Write

func (g *Generator) Write(filename string) error

Write ...

Jump to

Keyboard shortcuts

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