init return changed
This commit is contained in:
parent
69d984f2f3
commit
1c67df1742
|
@ -33,8 +33,8 @@ type App struct {
|
|||
}
|
||||
|
||||
// Init is an instance of app with default values
|
||||
func Init() *App {
|
||||
return &App{
|
||||
func Init() App {
|
||||
return App{
|
||||
Name: AppName,
|
||||
Version: AppVersion,
|
||||
Description: AppDescription,
|
||||
|
|
Loading…
Reference in New Issue