scalar

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 2 Imported by: 0

README

scalar_components

Golang Templ Component for Scalar API Documentation

Documentation

Overview

templ: version: v0.2.793

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIReference added in v0.0.2

func APIReference(props OptionsProp) templ.Component

func SetScriptLocation

func SetScriptLocation(scriptLocation string) string

func SetSpecURL

func SetSpecURL(contentLocation string) string

Types

type OptionsProp

type OptionsProp struct {
	CDN       string `json:"cdn,omitempty"`
	SpecURL   string `json:"specUrl,omitempty"`
	CustomCss string `json:"customCss,omitempty"`
	PageTitle string `json:"pageTitle,omitempty"`
}

Jump to

Keyboard shortcuts

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