auth
auth/profile.go
Add TODOs. Add TODO comments where functionality is stubbed out or anticipated, but work is needed to implement it.
1.1 --- a/profile.go Thu Sep 18 19:33:49 2014 -0400 1.2 +++ b/profile.go Thu Sep 18 19:34:18 2014 -0400 1.3 @@ -74,6 +74,7 @@ 1.4 } 1.5 1.6 func (c ProfileChange) Validate() error { 1.7 + // TODO: validate profile changes 1.8 return nil 1.9 } 1.10 1.11 @@ -104,6 +105,7 @@ 1.12 } 1.13 1.14 func (m *Memstore) GetProfileByLogin(login Login) (Profile, error) { 1.15 + // TODO: get profile by login 1.16 return Profile{}, nil 1.17 } 1.18 1.19 @@ -140,3 +142,7 @@ 1.20 delete(m.profiles, id.String()) 1.21 return nil 1.22 } 1.23 + 1.24 +// TODO: login store 1.25 +// TODO: login delete 1.26 +// TODO: login update