Any example of go packages I can reference?

I am hoping to add a custom feed with a new package for a project I use. The project is written in Go and am a little lost where to start.

I have built the project manually from the command line, and it runs well on my OpenWRT firmware when I copy it over. However, I would like to make a custom feed with the project for other people to use.

Are there any examples of packages written in go that I can reference? Thank you in advance.

Here's the search on the packages sources which lists all packages including golang-package.mk: https://github.com/search?q=repo%3Aopenwrt%2Fpackages%20golang-package.mk&type=code

Why would you want to set up your own feed instead of submitting your package to the OpenWrt packages repo?

1 Like

Awesome, thank you!

I will happily submit my package to the OpenWrt packages repo. The custom feed is so I can test and validate.

You can test by uploading the ipk file(s) to your router and installing them.

1 Like

ah thanks, i'll give that a try.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.