|
|
@@ -1,3 +1,9 @@
|
|
|
+// Copyright 2015 The Gogs Authors. All rights reserved.
|
|
|
+// Copyright 2018 Gitote. All rights reserved.
|
|
|
+//
|
|
|
+// This source code is licensed under the MIT license found in the
|
|
|
+// LICENSE file in the root directory of this source tree.
|
|
|
+
|
|
|
package errors
|
|
|
|
|
|
import "fmt"
|
|
|
@@ -14,4 +20,4 @@ func IsTeamNotExist(err error) bool {
|
|
|
|
|
|
func (err TeamNotExist) Error() string {
|
|
|
return fmt.Sprintf("team does not exist [team_id: %d, name: %s]", err.TeamID, err.Name)
|
|
|
-}
|
|
|
+}
|