fastpastebin/api/json/exported.go

17 lines
232 B
Go

package json
import (
// local
"github.com/pztrn/fastpastebin/context"
)
var (
c *context.Context
)
// New initializes basic JSON API.
func New(cc *context.Context) {
c = cc
c.Logger.Info().Msg("Initializing JSON API...")
}