advertisement

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adv

type Adv struct {
	Start   string `yaml:"start,omitempty"`
	End     string `yaml:"end,omitempty"`
	Pattern string `yaml:"pattern,omitempty"`
	Message string `yaml:"message,omitempty"`
}

type Advs

type Advs map[string]Adv

func NewAdvs

func NewAdvs(fileName string) (advertisements *Advs, err error)

func (*Advs) Get

func (advertisements *Advs) Get() string

Jump to

Keyboard shortcuts

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