Skip to content

Development infrastructure does not work with espradio #52

Description

@soypat

Gopls and go doc cannot pick up files that compile CGo. This is an issue for humans and more so for agents developing with espradio.

#43 is a path to fixing this but requires a bit more love.

Observed behaviour:

List of identifiers go doc . picks up

const MaxFrameSize = 1518
const Version = "0.1.0"
func NetifRxStats() (uint32, uint32)
type DHCPConfig struct{ ... }
type Error C.esp_err_t
type EthernetDevice interface{ ... }
type NetDev struct{ ... }
    func StartNetDev() (*NetDev, error)
    func StartNetDevAP() (*NetDev, error)
type Stack struct{ ... }
    func NewStack(dev *NetDev, cfg StackConfig) (*Stack, error)
type StackConfig struct{ ... }

Gopls:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions