random

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 13 Imported by: 0

README

random and exploratory

There is no structure here, just random things I wanted to explore

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttestMain

func AttestMain()

func AttestWithHelpers

func AttestWithHelpers()

func EmployeeSliceOfStructs

func EmployeeSliceOfStructs() []*employee

func FakeDataMain

func FakeDataMain(enableDebug bool)

func GithubGraphqlMain

func GithubGraphqlMain()

func JsonDataMain

func JsonDataMain()

func RandomGreetingMain

func RandomGreetingMain()

func RandomLogMessages

func RandomLogMessages()

func RandomLoopMain

func RandomLoopMain()

func RandomTypesAndKind

func RandomTypesAndKind()

Types

type GraphQLQuery

type GraphQLQuery struct {
	Query string `json:"query"`
}

type GraphQLRequest

type GraphQLRequest struct {
	Query     string                 `json:"query"`
	Variables map[string]interface{} `json:"variables"`
}

type GraphQLResponse

type GraphQLResponse struct {
	Data struct {
		Viewer struct {
			Login     string `json:"login"`
			CreatedAt string `json:"createdAt"`
		} `json:"viewer"`
		RateLimit struct {
			Limit     int    `json:"limit"`
			Cost      int    `json:"cost"`
			Remaining int    `json:"remaining"`
			ResetAt   string `json:"resetAt"`
		} `json:"rateLimit"`
	} `json:"data"`
}

Jump to

Keyboard shortcuts

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