Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SQL string
)
Functions ¶
func NewRepository ¶
func NewService ¶
func NewService(repo Repository) *service
Types ¶
type GetCampaignDetailInput ¶
type GetCampaignDetailInput struct {
ID int `uri:"id" binding:"required"`
}
type Repository ¶
type Repository interface { Create(param RequestEmployee) (Employee, error) GetAll() ([]Employee, error) }
type RequestEmployee ¶
type RequestGetEmploye ¶
type RequestGetEmploye struct {
Name string `json:"name"`
}
type ResponseBodyData ¶
Click to show internal directories.
Click to hide internal directories.