Skip to content

Files

Latest commit

 

History

History

mockapi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Mock API

A minimal mock API implementation used in runnable examples on pkg.go.dev.

This package simulates common API patterns like:

  • Single and bulk item fetching
  • Pagination
  • Network delay simulation
  • Realistic error scenarios

The package is intentionally kept public to enable running and experimenting with examples in the Go Playground.