member method modify

This commit is contained in:
geek 2017-05-24 15:34:41 +09:00
parent 3de6c33310
commit b5015bb284

View File

@ -12,23 +12,26 @@ func NewMember() *MemberService {
return &m
}
func (m *MemberService) Regist(member *MemberService) {
log.Println("Call Regist")
func (m *MemberService) Regist() (string){
log.Println("Call Regist", m.Email, m.Pw)
// Todo Call DB Gateway
return ""
}
func (m *MemberService) Read(email string) MemberService {
log.Println("Call Read")
func (m *MemberService) Read() (string){
log.Println("Call Read", m.Email)
// Todo Call DB Gateway
return ""
}
func (m *MemberService) Modify(member MemberService) {
log.Println("Call Modify")
func (m *MemberService) Modify() (string){
log.Println("Call Modify", m.Email, "::", m.Pw)
// Todo Call DB Gateway
return ""
}
func (m *MemberService) Remove(email string) {
log.Println("Call Remove")
func (m *MemberService) Remove() (string){
log.Println("Call Remove", m.Email)
// Todo Call DB Gateway
return ""
}