golang

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatCode

func FormatCode(code string) string

FormatCode formats Go source code; returns original on failure.

func GetParentPackage

func GetParentPackage(dir string) (string, string, error)

func GetParentPackageWithModule

func GetParentPackageWithModule(dir, moduleName string) (string, string, error)

func GoBin

func GoBin() string

GoBin returns a path of GOBIN.

func Install

func Install(git string) error

func NowString

func NowString() string

NowString returns current time formatted as yyyy-MM-dd HH:mm:ss

Types

This section is empty.

Jump to

Keyboard shortcuts

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