Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed.
		
			
				
	
	
		
			25 lines
		
	
	
		
			549 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			549 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// Copyright 2020 The Gitea Authors. All rights reserved.
 | 
						|
// Use of this source code is governed by a MIT-style
 | 
						|
// license that can be found in the LICENSE file.
 | 
						|
 | 
						|
//go:build vendor
 | 
						|
 | 
						|
package main
 | 
						|
 | 
						|
// Libraries that are included to vendor utilities used during build.
 | 
						|
// These libraries will not be included in a normal compilation.
 | 
						|
 | 
						|
import (
 | 
						|
	// for embed
 | 
						|
	_ "github.com/shurcooL/vfsgen"
 | 
						|
 | 
						|
	// for cover merge
 | 
						|
	_ "golang.org/x/tools/cover"
 | 
						|
 | 
						|
	// for vet
 | 
						|
	_ "code.gitea.io/gitea-vet"
 | 
						|
 | 
						|
	// for swagger
 | 
						|
	_ "github.com/go-swagger/go-swagger/cmd/swagger"
 | 
						|
)
 |