diff --git a/proxy/domain/domain_service.go b/proxy/domain/domain_service.go new file mode 100644 index 0000000..e99498a --- /dev/null +++ b/proxy/domain/domain_service.go @@ -0,0 +1,27 @@ +package domain + +import ( + "encoding/json" + "loafle.com/overflow/commons_go/model/timestamp" +) + +type Domain struct { + Id json.Number `json:"id,Number,omitempty"` + Name string `json:"name,omitempty"` + CreateDate timestamp.Timestamp `json:"createDate,omitempty"` +} + + +type DomainService struct { + +} + +func NewDomainService() *DomainService { + return &DomainService{} +} + + +func (d *DomainService)Create(dm *Domain) (string, error) { + + +} \ No newline at end of file diff --git a/proxy/domain/domain_service_test.go b/proxy/domain/domain_service_test.go new file mode 100644 index 0000000..4188b5a --- /dev/null +++ b/proxy/domain/domain_service_test.go @@ -0,0 +1 @@ +package domain