source

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package source loads clic and OpenAPI spec content from local files or remote URLs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsURL

func IsURL(location string) bool

IsURL reports whether the given location is an http(s) URL.

func Load

func Load(location string) ([]byte, error)

Load reads spec content from a local file path or an http(s) URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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