logs in use; new audit log panel!
This commit is contained in:
parent
1397274967
commit
d9b71381b0
16 changed files with 418 additions and 75 deletions
|
@ -1,6 +1,10 @@
|
|||
package model
|
||||
|
||||
import "github.com/jmoiron/sqlx"
|
||||
import (
|
||||
"github.com/jmoiron/sqlx"
|
||||
|
||||
"arimelody-web/log"
|
||||
)
|
||||
|
||||
type (
|
||||
DBConfig struct {
|
||||
|
@ -29,5 +33,6 @@ type (
|
|||
AppState struct {
|
||||
DB *sqlx.DB
|
||||
Config Config
|
||||
Log log.Logger
|
||||
}
|
||||
)
|
||||
|
|
|
@ -24,6 +24,7 @@ type (
|
|||
Tracks []*Track `json:"tracks"`
|
||||
Credits []*Credit `json:"credits"`
|
||||
Links []*Link `json:"links"`
|
||||
CreatedAt time.Time `json:"-" db:"created_at"`
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue