fastpastebin/api/json/exported.go

17 lines
232 B
Go
Raw Normal View History

2018-04-30 18:42:17 +05:00
package json
import (
// local
"github.com/pztrn/fastpastebin/context"
)
var (
c *context.Context
)
// New initializes basic JSON API.
2018-04-30 18:42:17 +05:00
func New(cc *context.Context) {
c = cc
c.Logger.Info().Msg("Initializing JSON API...")
}