It appears to pass all tests, but I’m not sure if my test writing skills are necessarily that great, I semi-followed the learn go with tests eBook. I appreciate any feedback, and if this isn’t an appropriate post for this community just let me know and I’ll remove.

Thanks!!

*** Update *** Updated the repository to be a bit more discriptive of what the library is for and added in a small example project of it in action.

  • sandtoffel@feddit.nl
    link
    fedilink
    Nederlands
    arrow-up
    3
    ·
    edit-2
    2 days ago

    Since it has no main, I guess it’s not an executable but meant as a library, which also explains the exports, as a third party should be able to consume the library

    • tapdattl@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      That’s a bingo! Yeah I decided to dip my toes into Go by writing a simple library on a topic I was learning about