Skip to content

Commit

Permalink
support go1.17 build constraint syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
willnorris committed Jun 12, 2021
1 parent edaee9a commit 4ae50c2
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions github/gen-accessors.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build ignore
// +build ignore

// gen-accessors generates accessor methods for structs with pointer fields.
Expand Down
1 change: 1 addition & 0 deletions github/gen-stringify-test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build ignore
// +build ignore

// gen-stringify-test generates test methods to test the String methods.
Expand Down
1 change: 1 addition & 0 deletions github/with_appengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build appengine
// +build appengine

// This file provides glue for making github work on App Engine.
Expand Down
1 change: 1 addition & 0 deletions github/without_appengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !appengine
// +build !appengine

// This file provides glue for making github work without App Engine.
Expand Down
1 change: 1 addition & 0 deletions test/integration/activity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build integration
// +build integration

package integration
Expand Down
1 change: 1 addition & 0 deletions test/integration/audit_log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build integration
// +build integration

package integration
Expand Down
1 change: 1 addition & 0 deletions test/integration/authorizations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build integration
// +build integration

package integration
Expand Down
1 change: 1 addition & 0 deletions test/integration/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build integration
// +build integration

package integration
Expand Down
1 change: 1 addition & 0 deletions test/integration/issues_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build integration
// +build integration

package integration
Expand Down
1 change: 1 addition & 0 deletions test/integration/misc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build integration
// +build integration

package integration
Expand Down
1 change: 1 addition & 0 deletions test/integration/pulls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build integration
// +build integration

package integration
Expand Down
1 change: 1 addition & 0 deletions test/integration/repos_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build integration
// +build integration

package integration
Expand Down
1 change: 1 addition & 0 deletions test/integration/users_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build integration
// +build integration

package integration
Expand Down

0 comments on commit 4ae50c2

Please sign in to comment.