domain
This commit is contained in:
snoop 2017-06-23 16:55:28 +09:00
parent 3a0d5cb590
commit aaa506f240
2 changed files with 28 additions and 0 deletions

View File

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

View File

@ -0,0 +1 @@
package domain