mapper

package
v0.0.0-...-87e3a66 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHub

type GitHub struct {
	Login string `yaml:"login"`
}

type Mapper

type Mapper struct{}

func New

func New() Mapper

func (Mapper) MapIDs

func (Mapper) MapIDs(content parser.Content, toContentType sender.ContentType) ([]string, error)

type Slack

type Slack struct {
	ID string `yaml:"id"`
}

type User

type User struct {
	ID     string `yaml:"id"`
	GitHub `yaml:"github"`
	Slack  `yaml:"slack"`
}

Jump to

Keyboard shortcuts

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