source

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

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SDID         = `\d+`
	SDIgnore     = "ignore"
	SDOmitNotice = "omit-notice"
)

source directives (SD)

Variables

This section is empty.

Functions

func Extensions

func Extensions() (list []string)

Types

type Opts

type Opts struct {
	DoxNoticeFileUrl string
	StripComments    bool
	TrimSpace        bool
}

type Source

type Source interface {
	Extensions() []string
	File() string
	ID() string
	Ignore() bool
	IsRootPage() bool
	Matches(string) bool
	Output() string
	SetID(string) error
	Title() string
	// contains filtered or unexported methods
}

func New

func New(filename string, opts Opts) (s Source, err error)

Jump to

Keyboard shortcuts

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