godoc

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package godoc provides for retrieving information from go documentation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDoc

func GetDoc(cmd string) (string, error)

GetDoc returns the go documentation requested.

func GetDocDecl

func GetDocDecl(cmd string) (string, error)

GetDocDecl returns go information for requested objects as presented in the source..

func GetDocDeclConstantBlock

func GetDocDeclConstantBlock(cmd string) (string, error)

GetDocDeclConstantBlock returns the go declaration for a typed constant block.

func GetDocDeclNatural

func GetDocDeclNatural(cmd string) (string, error)

GetDocDeclNatural returns the go declaration for requested objects exactly as defined in the source code.

func GetDocDeclSingle

func GetDocDeclSingle(cmd string) (string, error)

GetDocDeclSingle returns the go declaration for requested objects on a single line.

Types

This section is empty.

Jump to

Keyboard shortcuts

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