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.

auth.go 332 B

11 years ago
123456789101112131415
  1. // Copyright 2014 The Gogs Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package auth
  5. import (
  6. "fmt"
  7. "github.com/gogits/validation"
  8. )
  9. func GenerateErrorMsg(e *validation.ValidationError) string {
  10. return fmt.Sprintf("%v", e.LimitValue)
  11. }