Skip to content

guestin/kboot

Repository files navigation

K-BOOT

Usage

see example

go get -u github.com/guestin/kboot
package main

import (
	"context"

	"github.com/guestin/kboot"
)

type ExampleApplication struct {
}

func (this *ExampleApplication) GetAppName() string {
	return "example"
}

func (this *ExampleApplication) GetTimezone() *time.Location {
	return time.Local
}

func main() {
	kboot.Bootstrap(context.Background(),&ExampleApplication{})
}

About

go micro server framework

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages