forked from forgejo/forgejo
go vet
This commit is contained in:
parent
5c2da610a2
commit
9d983f27d6
7 changed files with 9 additions and 16 deletions
4
gogs.go
4
gogs.go
|
@ -1,3 +1,5 @@
|
|||
// +build go1.2
|
||||
|
||||
// Copyright 2014 The Gogs Authors. All rights reserved.
|
||||
// Use of this source code is governed by a MIT-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
@ -14,8 +16,6 @@ import (
|
|||
"github.com/gogits/gogs/modules/base"
|
||||
)
|
||||
|
||||
// +build go1.2
|
||||
|
||||
// Test that go1.2 tag above is included in builds. main.go refers to this definition.
|
||||
const go12tag = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue