forked from ebhomengo/niki
fix(service) divide domain name for each service and some note added
This commit is contained in:
parent
c7debfefc6
commit
5204ac5c83
|
@ -7,4 +7,5 @@ type KindBoxAddRequest struct {
|
|||
}
|
||||
|
||||
type KindBoxAddResponse struct {
|
||||
KindBox entity.KindBox
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package kindboxservice
|
|||
|
||||
import param "git.gocasts.ir/ebhomengo/niki/param/kind_box"
|
||||
|
||||
func (s Service) Delete(kindBoxId param.KindBoxDeleteRequest) error {
|
||||
func (s Service) Delete(param.KindBoxDeleteRequest) error {
|
||||
// some code
|
||||
panic("not implemented")
|
||||
}
|
||||
|
|
|
@ -3,5 +3,6 @@ package kindboxservice
|
|||
import param "git.gocasts.ir/ebhomengo/niki/param/kind_box"
|
||||
|
||||
func (s Service) GetAll() (param.KindBoxGetAllResponse, error) {
|
||||
// some code
|
||||
panic("not implement")
|
||||
}
|
||||
|
|
|
@ -3,5 +3,6 @@ package kindboxservice
|
|||
import param "git.gocasts.ir/ebhomengo/niki/param/kind_box"
|
||||
|
||||
func (s Service) GetById(request param.KindBoxGetByIdRequest) (param.KindBoxGetByIdResponse, error) {
|
||||
// some code
|
||||
panic("not implement")
|
||||
}
|
||||
|
|
|
@ -5,5 +5,6 @@ import (
|
|||
)
|
||||
|
||||
func (s Service) Update(updatedKindBox param.KindBoxUpdateRequest) (param.KindBoxUpdateResponse, error) {
|
||||
// some code
|
||||
panic("not implement")
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package kindboxservice
|
||||
package kindboxreqservice
|
||||
|
||||
import (
|
||||
param "git.gocasts.ir/ebhomengo/niki/param/kind_box_req"
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package kindboxservice
|
||||
package kindboxreqservice
|
||||
|
||||
import param "git.gocasts.ir/ebhomengo/niki/param/kind_box_req"
|
||||
|
||||
func (s Service) Delete(kindBoxReqId param.KindBoxReqDeleteRequest) error {
|
||||
// some code
|
||||
panic("not implemented")
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package kindboxservice
|
||||
package kindboxreqservice
|
||||
|
||||
import param "git.gocasts.ir/ebhomengo/niki/param/kind_box_req"
|
||||
|
||||
func (s Service) GetAll() (param.KindBoxReqGetAllResponse, error) {
|
||||
// some code
|
||||
panic("not implement")
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package kindboxservice
|
||||
package kindboxreqservice
|
||||
|
||||
import param "git.gocasts.ir/ebhomengo/niki/param/kind_box_req"
|
||||
|
||||
func (s Service) GetById(request param.KindBoxReqGetByIdRequest) (param.KindBoxReqGetByIdResponse, error) {
|
||||
// some code
|
||||
panic("not implement")
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package kindboxservice
|
||||
package kindboxreqservice
|
||||
|
||||
import "git.gocasts.ir/ebhomengo/niki/entity"
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package kindboxservice
|
||||
package kindboxreqservice
|
||||
|
||||
import (
|
||||
param "git.gocasts.ir/ebhomengo/niki/param/kind_box_req"
|
||||
)
|
||||
|
||||
func (s Service) Update(updatedKindBoxReq param.KindBoxReqUpdateRequest) (param.KindBoxReqUpdateResponse, error) {
|
||||
// some code
|
||||
panic("not implement")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue