Merge branch 'develop' of https://git.gocasts.ir/ebhomengo/niki into develop

This commit is contained in:
mohammad mahdi rezaei 2023-12-20 12:29:48 +03:30
commit 031c197715
16 changed files with 20 additions and 11 deletions

0
cmd/.gitkeep Normal file
View File

View File

@ -7,4 +7,5 @@ type KindBoxAddRequest struct {
}
type KindBoxAddResponse struct {
KindBox entity.KindBox
}

View File

@ -1,4 +1,4 @@
package mysqlkindBoxbank
package mysqlkindbox
import "git.gocasts.ir/ebhomengo/niki/repository/mysql"

View File

@ -0,0 +1 @@
package mysqlkindbox

View File

@ -1 +0,0 @@
package mysqlkindBoxbank

View File

@ -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")
}

View File

@ -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")
}

View File

@ -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")
}

View File

@ -5,5 +5,6 @@ import (
)
func (s Service) Update(updatedKindBox param.KindBoxUpdateRequest) (param.KindBoxUpdateResponse, error) {
// some code
panic("not implement")
}

View File

@ -1,4 +1,4 @@
package kindboxservice
package kindboxreqservice
import (
param "git.gocasts.ir/ebhomengo/niki/param/kind_box_req"

View File

@ -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")
}

View File

@ -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")
}

View File

@ -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")
}

View File

@ -1,4 +1,4 @@
package kindboxservice
package kindboxreqservice
import "git.gocasts.ir/ebhomengo/niki/entity"

View File

@ -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")
}