codex

package
v0.0.0-...-b99e8af Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DocsFS embed.FS
View Source
var SnippetsFS embed.FS
View Source
var TemplatesFS embed.FS

Functions

func GenPage

func GenPage(action string, args []string) ([]byte, error)

func GetDoc

func GetDoc(action string, args []string) ([]byte, error)

func GetSnip

func GetSnip(action string, args []string) ([]byte, error)

func KeywordFromFilename

func KeywordFromFilename(filename string) string

Types

type Page

type Page struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type Payload

type Payload struct {
	Pages []Page `json:"pages"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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