table component
This commit is contained in:
15
models/table.models.go
Normal file
15
models/table.models.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package models
|
||||
|
||||
type TableHead struct {
|
||||
Name string `json:"name"`
|
||||
Width string `json:"width"`
|
||||
}
|
||||
|
||||
func GetTableHead() []TableHead {
|
||||
a := []TableHead{
|
||||
{Name: "Kode", Width: "30%"},
|
||||
{Name: "User Group", Width: "40%"},
|
||||
{Name: "Aksi", Width: "30%"},
|
||||
}
|
||||
return a
|
||||
}
|
||||
Reference in New Issue
Block a user