detached 63d5487

all: fix build tags (#56)

This change drops old build tag comments `// +build`.
commit
63d5487b1fcd632bfb2e33ee1c47b57b115075f0
author
Hajime Hoshi · · 2022-10-30 12:02 UTC
committer
GitHub · · 2022-10-30 12:02 UTC
parent
64c381b
signature
GPG Unverified4AEE18F83AFDEB23 The key is unknown
18 files · +0 -18
M cgo_darwin.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build cgo
5-// +build cgo
65
76 package purego
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build cgo4 //go:build cgo
5-// +build cgo
6 5
7 package purego6 package purego
8 7
M dlfcn.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build darwin
5-// +build darwin
65
76 package purego
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build darwin4 //go:build darwin
5-// +build darwin
6 5
7 package purego6 package purego
8 7
M dummy.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build dummy
5-// +build dummy
65
76 // This file exists purely to prevent the Go toolchain from stripping
87 // away the C source directories and files when `go mod vendor` is used
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build dummy4 //go:build dummy
5-// +build dummy
6 5
7 // This file exists purely to prevent the Go toolchain from stripping6 // This file exists purely to prevent the Go toolchain from stripping
8 // away the C source directories and files when `go mod vendor` is used7 // away the C source directories and files when `go mod vendor` is used
M example/main.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build darwin || windows
5-// +build darwin windows
65
76 package main
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build darwin || windows4 //go:build darwin || windows
5-// +build darwin windows
6 5
7 package main6 package main
8 7
M go_runtime.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build darwin
5-// +build darwin
65
76 package purego
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build darwin4 //go:build darwin
5-// +build darwin
6 5
7 package purego6 package purego
8 7
M internal/abi/dummy.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build dummy
5-// +build dummy
65
76 // Package abi is a dummy package that prevents go tooling from stripping the C dependencies.
87 package abi
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build dummy4 //go:build dummy
5-// +build dummy
6 5
7 // Package abi is a dummy package that prevents go tooling from stripping the C dependencies.6 // Package abi is a dummy package that prevents go tooling from stripping the C dependencies.
8 package abi7 package abi
M internal/fakecgo/callbacks.go +0 -1
@@ -3,7 +3,6 @@
33 // license that can be found in the LICENSE file.
44
55 //go:build darwin
6-// +build darwin
76
87 package fakecgo
98
@@ -3,7 +3,6 @@
3 // license that can be found in the LICENSE file.3 // license that can be found in the LICENSE file.
4 4
5 //go:build darwin5 //go:build darwin
6-// +build darwin
7 6
8 package fakecgo7 package fakecgo
9 8
M internal/fakecgo/doc.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build darwin
5-// +build darwin
65
76 // Package fakecgo implements the Cgo runtime (runtime/cgo) entirely in Go.
87 // This allows code that calls into C to function properly when CGO_ENABLED=0.
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build darwin4 //go:build darwin
5-// +build darwin
6 5
7 // Package fakecgo implements the Cgo runtime (runtime/cgo) entirely in Go.6 // Package fakecgo implements the Cgo runtime (runtime/cgo) entirely in Go.
8 // This allows code that calls into C to function properly when CGO_ENABLED=0.7 // This allows code that calls into C to function properly when CGO_ENABLED=0.
M internal/fakecgo/go_libinit.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build darwin
5-// +build darwin
65
76 package fakecgo
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build darwin4 //go:build darwin
5-// +build darwin
6 5
7 package fakecgo6 package fakecgo
8 7
M internal/fakecgo/go_setenv.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build darwin
5-// +build darwin
65
76 package fakecgo
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build darwin4 //go:build darwin
5-// +build darwin
6 5
7 package fakecgo6 package fakecgo
8 7
M internal/fakecgo/go_util.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build darwin
5-// +build darwin
65
76 package fakecgo
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build darwin4 //go:build darwin
5-// +build darwin
6 5
7 package fakecgo6 package fakecgo
8 7
M internal/fakecgo/iscgo.go +0 -1
@@ -3,7 +3,6 @@
33 // license that can be found in the LICENSE file.
44
55 //go:build darwin
6-// +build darwin
76
87 // The runtime package contains an uninitialized definition
98 // for runtime·iscgo. Override it to tell the runtime we're here.
@@ -3,7 +3,6 @@
3 // license that can be found in the LICENSE file.3 // license that can be found in the LICENSE file.
4 4
5 //go:build darwin5 //go:build darwin
6-// +build darwin
7 6
8 // The runtime package contains an uninitialized definition7 // The runtime package contains an uninitialized definition
9 // for runtime·iscgo. Override it to tell the runtime we're here.8 // for runtime·iscgo. Override it to tell the runtime we're here.
M internal/fakecgo/libcgo.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build darwin
5-// +build darwin
65
76 package fakecgo
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build darwin4 //go:build darwin
5-// +build darwin
6 5
7 package fakecgo6 package fakecgo
8 7
M internal/fakecgo/setenv.go +0 -1
@@ -3,7 +3,6 @@
33 // license that can be found in the LICENSE file.
44
55 //go:build darwin
6-// +build darwin
76
87 package fakecgo
98
@@ -3,7 +3,6 @@
3 // license that can be found in the LICENSE file.3 // license that can be found in the LICENSE file.
4 4
5 //go:build darwin5 //go:build darwin
6-// +build darwin
7 6
8 package fakecgo7 package fakecgo
9 8
M internal/fakecgo/symbols.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build darwin
5-// +build darwin
65
76 package fakecgo
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build darwin4 //go:build darwin
5-// +build darwin
6 5
7 package fakecgo6 package fakecgo
8 7
M is_ios.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build !cgo
5-// +build !cgo
65
76 package purego
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build !cgo4 //go:build !cgo
5-// +build !cgo
6 5
7 package purego6 package purego
8 7
M nocgo_darwin.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build !cgo
5-// +build !cgo
65
76 package purego
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build !cgo4 //go:build !cgo
5-// +build !cgo
6 5
7 package purego6 package purego
8 7
M syscall.go +0 -1
@@ -2,7 +2,6 @@
22 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
33
44 //go:build darwin || windows
5-// +build darwin windows
65
76 package purego
87
@@ -2,7 +2,6 @@
2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors2 // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
3 3
4 //go:build darwin || windows4 //go:build darwin || windows
5-// +build darwin windows
6 5
7 package purego6 package purego
8 7

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close