examples icon indicating copy to clipboard operation
examples copied to clipboard

Update readme.md

Open wybiral opened this issue 8 years ago • 0 comments

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.

wybiral avatar Oct 10 '17 11:10 wybiral