【Netscape Navigator™】
.:: LINKS ::.
.:: ARTICLES ::.

BANNER EXCHANGE

Contact me on Tilde.Chat to exchange banners!

Random Tilde Box Join the Tildeverse Webring




SSB Log Entry 991


Any butts on here good at Go project layout? I'm building out the #pigeon-protocol CLI. Very new to Go.

I think the package structure I want is:

  • Main package (just a main() function that calls Cobra commands)
    • …which uses a cli or cmd module. (bunch of Cobra commands for keeping the CLI tidy)
      • …which uses a pigeon module. (core logic for running a Pigeon protocol node, could be broken out into a pigeon developer lib some day).

What would the folder look like for a project like that? Anyone know? Paging @habitatm45.

golang