Skip to content

Commit cd09664

Browse files
dmitshurgopherbot
authored andcommitted
all: delete obsolete import comments
Import comments were initially used to specify the canonical import path of a package, to prevent it from being used with a non-canonical path by accident. The module path in the go.mod file serves that purpose now. Change-Id: I36ebca191eb996b7254a6d452aa4f8dba88a6f94 Reviewed-on: https://go-review.googlesource.com/c/mobile/+/649383 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Hajime Hoshi <hajimehoshi@gmail.com>
1 parent a8bae73 commit cd09664

File tree

25 files changed

+25
-25
lines changed

25 files changed

+25
-25
lines changed

app/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ response to lifecycle events. Such packages should call:
8585
8686
in an init function inside that package.
8787
*/
88-
package app // import "golang.org/x/mobile/app"
88+
package app

asset/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
//
1515
// For consistency when debugging on a desktop, assets are read from a
1616
// directory named assets under the current working directory.
17-
package asset // import "golang.org/x/mobile/asset"
17+
package asset

bind/bind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// See the documentation on the gobind command for usage details
88
// and the list of currently supported types.
99
// (http://godoc.org/golang.org/x/mobile/cmd/gobind)
10-
package bind // import "golang.org/x/mobile/bind"
10+
package bind
1111

1212
// TODO(crawshaw): slice support
1313
// TODO(crawshaw): channel support

bind/java/context_android.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
package java // import "golang.org/x/mobile/bind/java"
5+
package java
66

77
// #cgo LDFLAGS: -llog
88
//

bind/seq/seq.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
// Designed only for use by the code generated by gobind. Don't try to
1111
// use this directly.
12-
package seq // import "golang.org/x/mobile/bind/seq"
12+
package seq
1313

1414
import _ "golang.org/x/mobile/internal/mobileinit"
1515

cmd/gobind/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,4 +249,4 @@ Examples can be found in http://golang.org/x/mobile/example.
249249
250250
Design doc: http://golang.org/s/gobind
251251
*/
252-
package main // import "golang.org/x/mobile/cmd/gobind"
252+
package main

cmd/gomobile/doc.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

event/lifecycle/lifecycle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// means it has lost the focus.
1818
//
1919
// See the golang.org/x/mobile/app package for details on the event model.
20-
package lifecycle // import "golang.org/x/mobile/event/lifecycle"
20+
package lifecycle
2121

2222
import (
2323
"fmt"

event/mouse/mouse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package mouse defines an event for mouse input.
66
//
77
// See the golang.org/x/mobile/app package for details on the event model.
8-
package mouse // import "golang.org/x/mobile/event/mouse"
8+
package mouse
99

1010
import (
1111
"fmt"

event/paint/paint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package paint defines an event for the app being ready to paint.
66
//
77
// See the golang.org/x/mobile/app package for details on the event model.
8-
package paint // import "golang.org/x/mobile/event/paint"
8+
package paint
99

1010
// Event indicates that the app is ready to paint the next frame of the GUI.
1111
//

0 commit comments

Comments
 (0)