Use GitHub GraphQL scalar types
mainThe githubv4 package provides specific Go types for every scalar in the GitHub GraphQL schema (e.g., githubv4.String, githubv4.DateTime, githubv4.Boolean, githubv4.ID, githubv4.ReactionContent).
Alternatively, because the library respects encoding/json rules, you can use standard Go types like string, time.Time, or bool. The library will unmarshal the JSON response into these types automatically.