error.go 451 B

1234567891011121314
  1. // Copyright 2019 The Xorm Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package core
  5. import "errors"
  6. var (
  7. // ErrNoMapPointer represents error when no map pointer
  8. ErrNoMapPointer = errors.New("mp should be a map's pointer")
  9. // ErrNoStructPointer represents error when no struct pointer
  10. ErrNoStructPointer = errors.New("mp should be a struct's pointer")
  11. )