Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: third_party/go/src/golang.org/x/mobile/bind/testdata/structs.go.golden

Issue 1275153002: Remove third_party/golang.org/x/mobile as it is no longer used with Go 1.5. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove golang.org/x/mobile Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/go/src/golang.org/x/mobile/bind/testdata/structs.go.golden
diff --git a/third_party/go/src/golang.org/x/mobile/bind/testdata/structs.go.golden b/third_party/go/src/golang.org/x/mobile/bind/testdata/structs.go.golden
deleted file mode 100644
index b32ec0d5b325a3198ba928c9a4938fad23f84979..0000000000000000000000000000000000000000
--- a/third_party/go/src/golang.org/x/mobile/bind/testdata/structs.go.golden
+++ /dev/null
@@ -1,63 +0,0 @@
-// Package go_structs is an autogenerated binder stub for package structs.
-// gobind -lang=go structs
-//
-// File is generated by gobind. Do not edit.
-package go_structs
-
-import (
- "golang.org/x/mobile/bind/seq"
- "structs"
-)
-
-const (
- proxySDescriptor = "go.structs.S"
- proxySXGetCode = 0x00f
- proxySXSetCode = 0x01f
- proxySYGetCode = 0x10f
- proxySYSetCode = 0x11f
- proxySSumCode = 0x00c
-)
-
-type proxyS seq.Ref
-
-func proxySXSet(out, in *seq.Buffer) {
- ref := in.ReadRef()
- v := in.ReadFloat64()
- ref.Get().(*structs.S).X = v
-}
-
-func proxySXGet(out, in *seq.Buffer) {
- ref := in.ReadRef()
- v := ref.Get().(*structs.S).X
- out.WriteFloat64(v)
-}
-
-func proxySYSet(out, in *seq.Buffer) {
- ref := in.ReadRef()
- v := in.ReadFloat64()
- ref.Get().(*structs.S).Y = v
-}
-
-func proxySYGet(out, in *seq.Buffer) {
- ref := in.ReadRef()
- v := ref.Get().(*structs.S).Y
- out.WriteFloat64(v)
-}
-
-func proxySSum(out, in *seq.Buffer) {
- ref := in.ReadRef()
- v := ref.Get().(*structs.S)
- res := v.Sum()
- out.WriteFloat64(res)
-}
-
-func init() {
- seq.Register(proxySDescriptor, proxySXSetCode, proxySXSet)
- seq.Register(proxySDescriptor, proxySXGetCode, proxySXGet)
- seq.Register(proxySDescriptor, proxySYSetCode, proxySYSet)
- seq.Register(proxySDescriptor, proxySYGetCode, proxySYGet)
- seq.Register(proxySDescriptor, proxySSumCode, proxySSum)
-}
-
-func init() {
-}

Powered by Google App Engine
This is Rietveld 408576698