mirror of
https://github.com/go-gitea/gitea
synced 2024-09-20 18:56:05 +00:00
5fe2ec264f
* Retry create issue to cope with duplicate keys * Use .SetExpr().Where().Insert()
15 lines
451 B
Go
15 lines
451 B
Go
// Copyright 2019 The Xorm Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package core
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
// ErrNoMapPointer represents error when no map pointer
|
|
ErrNoMapPointer = errors.New("mp should be a map's pointer")
|
|
// ErrNoStructPointer represents error when no struct pointer
|
|
ErrNoStructPointer = errors.New("mp should be a struct's pointer")
|
|
)
|