gomodx

package
v0.1.75 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoModName

func GoModName(filePath string) string

GoModName 获取mod名称

func InProjectRoot

func InProjectRoot() bool

是否在项目根目录(根据是否有go.mod)

Types

This section is empty.

Jump to

Keyboard shortcuts

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