menu-traversal-refactor #109

Closed
carlos wants to merge 24 commits from menu-traversal-refactor into master
2 changed files with 8 additions and 10 deletions
Showing only changes of commit 70e234aa7c - Show all commits

View File

@ -1,3 +1,4 @@
//go:build !online
// +build !online // +build !online
package testutil package testutil
@ -6,8 +7,6 @@ import (
"git.grassecon.net/urdt/ussd/internal/handlers/server" "git.grassecon.net/urdt/ussd/internal/handlers/server"
) )
var AccountService server.AccountServiceInterface var (
AccountService server.AccountServiceInterface = &server.TestAccountService{}
func init() { )
AccountService = &server.MockAccountService{}
}

View File

@ -1,11 +1,10 @@
//go:build online
// +build online // +build online
package testutil package testutil
import "git.grassecon.net/urdt/ussd/internal/handlers/server" import "git.grassecon.net/urdt/ussd/internal/handlers/server"
var AccountService server.AccountServiceInterface var (
AccountService server.AccountServiceInterface
func init() { )
AccountService = &server.AccountService{}
}