fixtures

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package fixtures provides test utilities and mock data generators for testing the gh-skyline application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMockContributionDay

func CreateMockContributionDay(date time.Time, count int) types.ContributionDay

CreateMockContributionDay creates a mock contribution day

func GenerateContributionsResponse

func GenerateContributionsResponse(username string, year int) *types.ContributionsResponse

GenerateContributionsResponse creates a mock contributions response

Types

This section is empty.

Jump to

Keyboard shortcuts

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