from Hacker News

Show HN: GoHN – Hacker News API Wrapper for Go

by call-me-al on 10/4/22, 11:15 AM with 1 comments

  • by call-me-al on 10/4/22, 11:17 AM

    I know, I know, you don't need an external package just to interface with the HN API.

    Nevertheless, I needed this to make my life easier in a project I'm working on, so, here you go.

    This package provides a wrapper for the Firebase Hacker News API [1] in Go.

    Besides the obvious callouts to the documented endpoints, it also provides utilities functions that can be useful when working with data returned from this API.

    I'm a beginner at Go, so feedback to improve my skills is more than welcome. Together with PRs to the repo, of course!

    [1] https://github.com/HackerNews/API