github

command module
v0.0.0-...-aa867fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2024 License: Unlicense Imports: 9 Imported by: 0

README

GitHub GraphQL API client

Goal

Get a list of all of repositories owned by me from GitHub, alongside and/or sorted by creation date.

From the Explorer

{
  repositoryOwner(login: "jlucktay") {
    login
    repositories(first: 100, isFork: false, orderBy: {field: CREATED_AT, direction: ASC}) {
      edges {
        node {
          createdAt
          name
        }
      }
    }
  }
}

TODO

Doing
Done
  • get forks and not-forks as two separate queries
    • in Terraform, these would be maintained as two separate resources, one volatile and one less so
  • Pagination (starter limit is 100 and we're almost there already)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL