path: root/meta/recipes-extended/go-examples/
AgeCommit message (Collapse)Author
2022-04-29go-helloworld: remove unused GO_WORKDIRChen Qi
The GO_WORKDIR is used only in go-mod.bbclass. As this recipe does not inherit go-mod.bbclass, this variable is useless here. This go-helloworld recipe was made to inherit go-mod.bbclass and build in module-aware mode. However, it was found that we need to build go recipes in GOPATH mode in order to support offline build. As a result, this recipe was changed back to only inherit go.bbclass. But the GO_WORKDIR setting was not cleaned up. (From OE-Core rev: 70bc5b6d40f94bde82415fb87db37fdf2606c2fb) Signed-off-by: Chen Qi <> Signed-off-by: Luca Ceresoli <> Signed-off-by: Richard Purdie <>
2022-04-28go-helloworld: update to latest revisionAlexander Kanavin
(From OE-Core rev: 09197f0607e6bbc066110a00cf09fb0d8c7041f1) Signed-off-by: Alexander Kanavin <> Signed-off-by: Richard Purdie <>
2022-04-19go-helloworld: update to latest revisionAlexander Kanavin
(From OE-Core rev: aebf611b2a9f4c3a563b3a636c46ef239fe4daf3) Signed-off-by: Alexander Kanavin <> Signed-off-by: Richard Purdie <>
2021-11-29go-helloworld: update to latest revisionAlexander Kanavin
Adjust SRC_URI, github is only a mirror. Adjust GO_IMPORT, as it does not match either github or the official repo. (From OE-Core rev: 2c0e20fca1491adfef4f79b0088664f587ade4fd) Signed-off-by: Alexander Kanavin <> Signed-off-by: Richard Purdie <>
2021-11-03go-helloworld/glide: Fix urlsRichard Purdie
Handle github protocol changes not covered by the script due to variable indirection. (From OE-Core rev: 3bb1cb476dbad1037522970af9afd69691a7033c) Signed-off-by: Richard Purdie <>
2021-10-30meta: Add explict branch to git SRC_URIsRichard Purdie
There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <>
2021-08-02Convert to new override syntaxRichard Purdie
This is the result of automated script conversion: scripts/contrib/ <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <>
2021-03-23go-helloworld: disable module-aware modeChangqing Li
>From go 1.16, module-aware mode is enabled by default, regardless of whether a go.mod file is present in the current working directory or a parent directory. Above change makes go-helloworld build fail when doing offline build or is not accessible. This fix is kind of workaround, as from go1.17, GOPATH mode will be dropped, and GO111MODULE is ignored. (From OE-Core rev: a0dc36d60809a0a937bbb02ec27ba768ef177063) Signed-off-by: Changqing Li <> Signed-off-by: Richard Purdie <>
2021-02-26go-helloworld: Turn into a go module enabled buildKhem Raj
(From OE-Core rev: 86aacbc889830846150ff2d0f1cd7ba00a2c10f6) Signed-off-by: Khem Raj <> Signed-off-by: Richard Purdie <>
2017-11-30oe-core: take UPSTREAM_CHECK_COMMITS into use where possibleAlexander Kanavin
This greatly reduces the amount of recipes for which upstream version check fails: from about 30 to about 8. (From OE-Core rev: bb9066670a6096aa4134bebc84132b4eb3964b6d) Signed-off-by: Alexander Kanavin <> Signed-off-by: Ross Burton <> Signed-off-by: Richard Purdie <>
2017-11-09go-helloworld: add an acknowledgement of unknown upstream versionAlexander Kanavin
As upstream has no git tags. (From OE-Core rev: d853e588afbccf09ee65e077e0360de65b964a52) Signed-off-by: Alexander Kanavin <> Signed-off-by: Richard Purdie <>
2017-09-11go-helloworld: Use the Golang examples repositoryOtavio Salvador
This updates the recipe to use the Golang examples repository so it makes use of the unpack as well as standard tasks showing how easy it can be. (From OE-Core rev: 116d2ea1fe92725bb1265152f3db51598643a481) Signed-off-by: Otavio Salvador <> Signed-off-by: Richard Purdie <>
2017-03-10go: Add recipes for golang compilers and toolsKhem Raj
* This is converging the recipes for go from meta-virtualization and oe-meta-go * Add recipes for go 1.7 * go.bbclass is added to ease out writing recipes for go packages * go-examples: Add an example, helloworld written in go This should serve as temlate for writing go recipes * Disable for musl, at least for now * Disable for x32/ppc32 which is not supported (From OE-Core rev: 78615e9260fb5d6569de4883521b049717fa4340) Signed-off-by: Khem Raj <> Signed-off-by: Richard Purdie <>