package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: May 15, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
GetProjectName 获取项目名称
原理: 获取go.mod第一行module后面的内容, 例如: module github.com/liuxiaobopro/gobox
例如: 参考 go_test.go ==> TestGetProjectName()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.