Skip to main content
Lethean lthn .ai
Sign in Open console
lthn.ai Library + CLI · Zero-dependency

Core Go

Core Go is the zero-dependency Go foundation for the stack — a primitives library (Result, Options, Action, Core) with typed stdlib wrappers, and the core CLI built on top of it. The same package is imported as a library and shipped as a binary.

Zero deps
go.mod is 3 lines
Result · Options · Action
Universal types
44 wrappers
Typed stdlib
~30 repos
Depend on it
INCLUDED

What ships with it

A library first

Result, Options, Action, and Core are the four types every operation flows through. Import dappco.re/go and build on the same primitives the platform uses.

And a CLI

The core binary is built on those primitives — the multi-repo dev loop, builds, releases, and QA. Same code, imported or run.

Zero external dependencies

go.mod stays at three lines, and the library never imports its consumers. SPOR: one owner file per wrapped stdlib package.

Written to be read

Predictable names, comments as examples, path as documentation — as easy for an agent to read as a human.

INTERFACE

Surface area

Library
go get dappco.re/go

The primitives — Result, Options, Action, Core — plus 44 typed wrappers for the Go stdlib.

CLI
core

The same package shipped as a binary: the multi-repo dev loop, builds, docs, and QA.

Build + release
core build · core ci

Cross-platform builds, signing, and releases (see Core Build).

QUICKSTART

Library or CLI

Core Go is both: import dappco.re/go as a library, or run the core CLI built on it. Zero external dependencies.

Library or CLI
# library — import the primitives
go get dappco.re/go@latest

# cli — the same package, shipped as a binary
core build --targets linux/amd64,darwin/arm64
REFERENCE

Read the contract

Build on the primitives, or drive the CLI.

One zero-dependency Go foundation — imported as a library, shipped as the core binary.