types

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package types embeds the canonical mdsmith field-type-shortcut library so schema parsing can resolve `created: date` and friends without touching the network. The library source itself lives in `types.cue` next to this file.

The intended import path for external CUE consumers is `github.com/jeduden/mdsmith/types`. The literal CUE import syntax is not yet implemented; today's surface is the bare-name YAML scalar handled by internal/schema's frontmatterExpr. The Go package name matches the directory so the Go and CUE import paths line up for future module wiring.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Source

func Source() string

Source returns the embedded `types.cue` contents verbatim. internal/schema reads this once to seed its runtime registry and to drive the drift test that pins registry entries to the documented CUE.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL