Initial commit.
This commit is contained in:
15
api/json/exported.go
Normal file
15
api/json/exported.go
Normal file
@@ -0,0 +1,15 @@
|
||||
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...")
|
||||
}
|
Reference in New Issue
Block a user