percolate/charlatan
Go Interface Mocking Tool
Charlatan helps Go developers efficiently test their code by creating fake, but functional, versions of interfaces. You provide an existing Go interface definition, and it generates a mock implementation that you can control. This allows developers to isolate parts of their application for testing without needing the full system to be operational.
204 stars. No commits in the last 6 months.
Use this if you are a Go developer who needs to write robust unit or integration tests for code that depends on complex or external services, and you want to simulate those dependencies without actually calling them.
Not ideal if you are looking for a general-purpose mocking library for languages other than Go, or if your testing strategy relies solely on end-to-end testing.
Stars
204
Forks
10
Language
Go
License
BSD-3-Clause
Category
Last pushed
Nov 19, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/percolate/charlatan"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
googleapis/gapic-generator-python
Generate Python API client libraries from Protocol Buffers.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.