MCPcopy Index your code
hub / github.com/golang/mobile

github.com/golang/mobile @main sqlite

repository ↗ · DeepWiki ↗
2,421 symbols 6,311 edges 202 files 607 documented · 25% 7 cross-repo links
README

Go support for Mobile devices

Go Reference

The Go mobile repository holds packages and build tools for using Go on mobile platforms.

Package documentation as a starting point:

Caution image

The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.

This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.

--

Contributions to Go are appreciated. See https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/mobile.

Extension points exported contracts — how you extend this code

I (Interface)
I is an interface. [4 implementers]
bind/testdata/doc.go
Sender (Interface)
Sender sends an event. [2 implementers]
exp/sensor/sensor.go
Context (Interface)
Context is an OpenGL ES context. A Context has a method for every GL function supported by ES 2 or later. In a program [1 …
gl/interface.go
App (Interface)
App is how a GUI mobile application interacts with the OS. [1 implementers]
app/app.go
Texture (Interface)
(no doc) [2 implementers]
exp/sprite/sprite.go
File (Interface)
File is an open asset.
asset/asset.go
GoObject (Interface)
(no doc) [2 implementers]
bind/java/Seq.java
I3 (Interface)
implementable (the implementor has to find a source of I1s) [4 implementers]
bind/testdata/interfaces.go

Core symbols most depended-on inside this repo

Printf
called by 1192
bind/printer.go
c
called by 370
gl/types_prod.go
Type
called by 200
internal/importers/java/java.go
enqueue
called by 183
gl/work.go
errDrain
called by 157
gl/gldebug.go
enqueueDebug
called by 128
gl/gldebug.go
Len
called by 80
internal/binres/binres.go
Indent
called by 73
bind/printer.go

Shape

Method 1,318
Function 776
Struct 201
Interface 51
TypeAlias 50
Class 23
FuncType 2

Languages

Go92%
Java8%

Modules by API surface

gl/gldebug.go161 symbols
gl/gl.go158 symbols
gl/interface.go153 symbols
bind/testdata/testpkg/testpkg.go137 symbols
exp/audio/al/al.go83 symbols
bind/java/SeqTest.java72 symbols
bind/testdata/keywords.go58 symbols
bind/genjava.go52 symbols
bind/genobjc.go47 symbols
internal/importers/java/java.go43 symbols
exp/audio/al/al_android.go40 symbols
bind/testdata/testpkg/javapkg/classes.go39 symbols

Dependencies from manifests, versioned

golang.org/x/exp/shinyv0.0.0-2026060320212 · 1×
golang.org/x/imagev0.42.0 · 1×
golang.org/x/mobilev0.0.0-2026060219062 · 1×
golang.org/x/modv0.37.0 · 1×
golang.org/x/syncv0.21.0 · 1×
golang.org/x/sysv0.46.0 · 1×
golang.org/x/toolsv0.46.0 · 1×
golang.org/x/tools/go/expectv0.1.1-deprecated · 1×
golang.org/x/tools/go/packages/packagestestv0.1.1-deprecated · 1×
robpike.io/ivyv0.2.7 · 1×

For agents

$ claude mcp add mobile \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact