pilemall

package
v0.0.0-...-724633c Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(New, NewOptions)

ProviderSet is a provider set for wire

Functions

func New

func New(o *Options, logger *zap.Logger, hs *http.Server) (*app.Application, error)

New serve caller to create an *app.Application

Types

type Options

type Options struct {
	Name    string
	Project string
	Env     string
}

Options declare options configuration

func NewOptions

func NewOptions(v *viper.Viper, logger *zap.Logger) (*Options, error)

NewOptions serve caller to create Options

Directories

Path Synopsis
api
biz

Jump to

Keyboard shortcuts

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