refactor-location #134

Closed
trunglam wants to merge 270 commits from refactor-location into master
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 2719017b61 - Show all commits

View File

@ -16,6 +16,7 @@ func GetSegment() Segment {
return Segment{}
}
// GetListSegmentInfoByIds ...
func (s Segment) GetListSegmentInfoByIds(p model.GetListSegmentRequest) (*model.ResponseListSegmentInfo, error) {
msg, err := natsio.GetServer().Request(subject.Segment.GetListSegmentInfo, toBytes(p))

View File

@ -2,6 +2,7 @@ package subject
import "fmt"
// getSegmentValue ...
func getSegmentValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Segment, val)
}