stdlib

package
v0.0.0-...-239384d Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause, CC-BY-4.0 Imports: 2 Imported by: 0

Documentation

Overview

Package stdlib contains functionality relevant to the Go Standard Library.

Index

Constants

View Source
const (
	// ModulePath is the name of the Go standard library module.
	ModulePath = "std"
	// ToolchainModulePath is the name of the module containing Go
	// toolchain binaries.
	ToolchainModulePath = "cmd"
)

Variables

This section is empty.

Functions

func Contains

func Contains(path string) bool

Contains reports whether the given import path could be part of the Go standard library, by reporting whether the first component lacks a '.'.

func IsCmdModule

func IsCmdModule(path string) bool

func IsStdModule

func IsStdModule(path string) bool

func IsXModule

func IsXModule(path string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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