request.go 217 B

123456789101112131415
  1. package app
  2. import (
  3. "github.com/astaxie/beego/validation"
  4. "tmr-watch/pkg/logging"
  5. )
  6. func MarkErrors(errors []*validation.Error) {
  7. for _, err := range errors {
  8. logging.Info(err.Key, err.Message)
  9. }
  10. return
  11. }