I am trying to understand some Go code online.
var botInterface func(*Server) eintefaces.BotInterface
func SetBotInterface(b func(*Server) einterface.BotInterface){
botInterface = b
}
Does anyone know what the code is saying? There is no implementation of the nameless function. From what I can tell is that botInterface is defined as a function that returns a interface. Currently botInterface is nil and that is the only related code.