ipfs-inactive / examples

[ARCHIVED] DEPRECATED — merged into IPFS docs
185 stars 74 forks source link

Update readme.md #89

Open wybiral opened 7 years ago

wybiral commented 7 years ago

The current examples/api/demoapp documentation has an error where it defines cfg twice using two different styles:

    cfg := &core.BuildCfg{
        Repo:   r,
        Online: true,
    }

    cfg := new(core.BuildCfg)
    cfg.Repo = r
    cfg.Online = true

This PR will make the documentation more consistent with the actual code.