FAQ
Hi,

When trying to use gomobile bind to create an AAR file for a simple
package, I get the error:

gomobile: unsupported, direct named type github.com/evahlis/spm.PasswordDb:
struct{github.com/evahlis/spm.passwordDbInternals; key [32]byte;
keyWasInited bool}

The type in question is defined as follows:


type passwordDbInternals struct {
  data map[string]string
  passwordNonce [32]byte
}

type PasswordDb struct {
  passwordDbInternals
  key [32]byte
  keyWasInited bool
}


Since structs are supposed to be supported, I expected this to work. What
am I missing?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJun 21, '15 at 2:06p
activeJun 21, '15 at 5:05p
posts3
users2
websitegolang.org

2 users in discussion

Evahlis: 2 posts Hyang-Ah Hana Kim: 1 post

People

Translate

site design / logo © 2022 Grokbase