16 lines
197 B
Go
16 lines
197 B
Go
|
package json
|
||
|
|
||
|
import (
|
||
|
// local
|
||
|
"github.com/pztrn/fastpastebin/context"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
c *context.Context
|
||
|
)
|
||
|
|
||
|
func New(cc *context.Context) {
|
||
|
c = cc
|
||
|
c.Logger.Info().Msg("Initializing JSON API...")
|
||
|
}
|