Skip to content

Getting Started

Terminal window
go install github.com/ccl-lang/ccl@latest
#[CCLVersion("1.0.0")]
#[SerializationType("binary")]
[SerializationType("binary")]
model UserInfo {
Id: int64;
Username: string;
Email: string;
}
Terminal window
ccl generate --source definitions.ccl --output path/to/output --language Go

Write model definitions in .ccl, choose the target language, and let the compiler generate the language-specific code.