typespec

package
v0.0.0-...-f9b13d0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	// contains filtered or unexported fields
}
func (l *Link) Links() []string

func (*Link) String

func (l *Link) String() string

type TspLocation

type TspLocation struct {
	Directory             string   `yaml:"directory" validate:"required"`
	Commit                string   `yaml:"commit" validate:"required"`
	Repo                  string   `yaml:"repo" validate:"required"`
	AdditionalDirectories []string `yaml:"additionalDirectories" validate:"omitempty"`
}

tsp-location.yaml

func ParseTspLocation

func ParseTspLocation(tspLocationPath string) (*TspLocation, error)
func (tl *TspLocation) Link() *Link

快速获取tsp-location.yaml指向的github link

func (*TspLocation) Validation

func (tl *TspLocation) Validation() error

Jump to

Keyboard shortcuts

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