From ae5afea4be8ca56e3fb7963fea5e337332e50a1f Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 17 Apr 2012 23:15:34 -0400 Subject: basic dumping in several formats --- auth.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'auth.go') diff --git a/auth.go b/auth.go index 0bbed40..d8e881e 100644 --- a/auth.go +++ b/auth.go @@ -23,18 +23,18 @@ type AuthService interface { // always returned. type DummyAuth bool // TODO: what is the best "dummy" abstract base type? -func (da *DummyAuth) CheckLogin(name, pw string) error { +func (da DummyAuth) CheckLogin(name, pw string) error { return nil } -func (da *DummyAuth) NewAccount(name, pw, email string) error { +func (da DummyAuth) NewAccount(name, pw, email string) error { return nil } -func (da *DummyAuth) ChangePassword(name, oldPw, newPw string) error { +func (da DummyAuth) ChangePassword(name, oldPw, newPw string) error { return nil } -func (da *DummyAuth) GetEmail(name string) (string, error) { +func (da DummyAuth) GetEmail(name string) (string, error) { return "example@bommom.com", nil } -- cgit v1.2.3