package proxy import "log" type MemberService struct { Email string `json:"email"` PwSalt string `json:"pwSalt"` Name string `json:"name"` Company string `json:"company"` Phone string `json:"phone"` } func NewMember() *MemberService { m := MemberService{} return &m } func (m *MemberService) Regist() (string){ log.Println("Call Regist", m.Email, m.PwSalt) // Todo Call DB Gateway return "" } func (m *MemberService) Read() (string){ log.Println("Call Read", m.Email) // Todo Call DB Gateway return "" } func (m *MemberService) Modify() (string){ log.Println("Call Modify", m.Email, "::", m.PwSalt) // Todo Call DB Gateway return "" } func (m *MemberService) Remove() (string){ log.Println("Call Remove", m.Email) // Todo Call DB Gateway return "" }