You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

operate_log.go 272 B

3 years ago
3 years ago
1234567891011121314
  1. package operate_log
  2. import (
  3. "code.gitea.io/gitea/models"
  4. )
  5. func Log(log models.AdminOperateLog) error {
  6. _, err := models.InsertAdminOperateLog(log)
  7. return err
  8. }
  9. func NewLogValues() *models.LogValues {
  10. return &models.LogValues{Params: make([]models.LogValue, 0)}
  11. }