edition

package
v0.90.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package edition is the one default-version rule: the version a reader of a language opens by default is the first live version by position serving that language, else the first live version (contentkit-ui defaultVersion). Cards, detail, covers and sitemaps all pick it this way.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Order

func Order(f, language string) string

Order is the rule as ORDER BY terms over the content_facets row aliased f, language an SQL text expression: live first, then serving language, then position and id. A content without live versions falls to its first.

Types

This section is empty.

Jump to

Keyboard shortcuts

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