forked from ebhomengo/niki
Merge branch 'develop' of https://git.gocasts.ir/ebhomengo/niki into develop
This commit is contained in:
commit
031c197715
|
@ -7,4 +7,5 @@ type KindBoxAddRequest struct {
|
|||
}
|
||||
|
||||
type KindBoxAddResponse struct {
|
||||
KindBox entity.KindBox
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package mysqlkindBoxbank
|
||||
package mysqlkindbox
|
||||
|
||||
import "git.gocasts.ir/ebhomengo/niki/repository/mysql"
|
||||
|
|
@ -0,0 +1 @@
|
|||
package mysqlkindbox
|
|
@ -1 +0,0 @@
|
|||
package mysqlkindBoxbank
|
|
@ -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