extractor

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct{}

func NewEnv

func NewEnv() *Env

func (*Env) Extract

func (r *Env) Extract(args []string) (string, error)

Extract impl Extract for `env`

func (*Env) Name

func (r *Env) Name() string

type File

type File struct{}

func NewFile

func NewFile() *File

func (*File) Extract

func (r *File) Extract(args []string) (string, error)

Extract impl file Extract

file Extractor accept one arg as filepath filepath support use $ENV_NAME as part of filepath

func (*File) Name

func (r *File) Name() string

Jump to

Keyboard shortcuts

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