Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToApplicationModel ¶
func ToApplicationModel(application *Application) (*specV1.Application, error)
Types ¶
type Application ¶
type Application struct { Id uint64 `db:"id"` Namespace string `db:"namespace"` Name string `db:"name"` Version string `db:"version"` IsDeleted int `db:"is_deleted"` CreateTime time.Time `db:"create_time"` UpdateTime time.Time `db:"update_time"` Content string `db:"content"` }
func FromApplicationModel ¶
func FromApplicationModel(application *specV1.Application) (*Application, error)
Click to show internal directories.
Click to hide internal directories.