14 lines
241 B
Go
14 lines
241 B
Go
|
package context
|
||
|
|
||
|
import "git.supernets.org/perp/gopay/internal/config"
|
||
|
|
||
|
// Request context
|
||
|
type Context struct {
|
||
|
Config *config.Config
|
||
|
}
|
||
|
|
||
|
// Return a new Context
|
||
|
func New(config *config.Config) *Context {
|
||
|
return &Context{Config: config}
|
||
|
}
|