Archived
1
This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
i2_bot/lib/getters/exported.go

29 lines
478 B
Go
Raw Normal View History

2017-10-13 00:31:12 +04:00
// i2_bot Instinct PokememBro Bot
// Copyright (c) 2017 Vladimir "fat0troll" Hodakov
package getters
import (
// stdlib
"log"
// local
"../appcontext"
"../getters/gettersinterface"
)
var (
c *appcontext.Context
)
type Getters struct {}
func New(ac *appcontext.Context) {
c = ac
g := &Getters{}
c.RegisterGettersInterface(gettersinterface.GettersInterface(g))
}
func (g *Getters) Init() {
log.Printf("Initializing getters...")
}