Skip to content
This repository has been archived by the owner on Aug 15, 2022. It is now read-only.

Using a component that points to a different package fails #5

Open
heynemann opened this issue Jan 16, 2022 · 0 comments
Open

Using a component that points to a different package fails #5

heynemann opened this issue Jan 16, 2022 · 0 comments

Comments

@heynemann
Copy link

Trying to add a component that holds a reference to a socket:

type Socket struct {
    Connection *websocket.Conn
}

This fails, because it produces code that tries to use *websocket.conn when calling .addSocket(). Also the import statement in the generated game.go is messed up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant