Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasAdminRole ¶
Types ¶
type SalesController ¶
type SalesController struct{}
func (SalesController) Create ¶
func (SalesController) Create(c *gin.Context)
func (SalesController) Delete ¶
func (SalesController) Delete(c *gin.Context)
func (SalesController) GetAll ¶
func (SalesController) GetAll(c *gin.Context)
func (SalesController) GetByID ¶
func (SalesController) GetByID(c *gin.Context)
type ServisanController ¶
type ServisanController struct{}
func (ServisanController) Create ¶
func (ServisanController) Create(c *gin.Context)
func (ServisanController) Delete ¶
func (ServisanController) Delete(c *gin.Context)
func (ServisanController) GetAll ¶
func (ServisanController) GetAll(c *gin.Context)
func (ServisanController) GetByNomorNota ¶
func (ServisanController) GetByNomorNota(c *gin.Context)
func (ServisanController) Update ¶
func (ServisanController) Update(c *gin.Context)
type SparepartController ¶
type SparepartController struct{}
func (SparepartController) Create ¶
func (SparepartController) Create(c *gin.Context)
func (SparepartController) Delete ¶
func (SparepartController) Delete(c *gin.Context)
func (SparepartController) GetAll ¶
func (SparepartController) GetAll(c *gin.Context)
func (SparepartController) GetByNomorNota ¶
func (SparepartController) GetByNomorNota(c *gin.Context)
type TeknisiController ¶
type TeknisiController struct{}
func (TeknisiController) Create ¶
func (TeknisiController) Create(c *gin.Context)
func (TeknisiController) Delete ¶
func (TeknisiController) Delete(c *gin.Context)
func (TeknisiController) GetAll ¶
func (TeknisiController) GetAll(c *gin.Context)
func (TeknisiController) GetByID ¶
func (TeknisiController) GetByID(c *gin.Context)
type UserController ¶
type UserController struct{}
func (UserController) GetAll ¶
func (UserController) GetAll(c *gin.Context)
func (UserController) Register ¶
func (UserController) Register(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.