Home / Type/ Core Type — gin Architecture

Core Type — gin Architecture

Architecture documentation for the Core type/interface in api.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  c483418b_70a4_f0b1_c537_3ccd8d669172["Core"]
  9ca66bd0_28cc_9f2e_12e2_eb2a3002f38c["api.go"]
  c483418b_70a4_f0b1_c537_3ccd8d669172 -->|defined in| 9ca66bd0_28cc_9f2e_12e2_eb2a3002f38c
  style c483418b_70a4_f0b1_c537_3ccd8d669172 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec/json/api.go lines 13–19

type Core interface {
	Marshal(v any) ([]byte, error)
	Unmarshal(data []byte, v any) error
	MarshalIndent(v any, prefix, indent string) ([]byte, error)
	NewEncoder(writer io.Writer) Encoder
	NewDecoder(reader io.Reader) Decoder
}

Defined In

Frequently Asked Questions

What is the Core type?
Core is a type/interface in the gin codebase, defined in codec/json/api.go.
Where is Core defined?
Core is defined in codec/json/api.go at line 13.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free