utility

package
v0.0.0-...-52e4a05 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package utility @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Package utility @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Package utility @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Package utility @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAuth

func CheckAuth(ctx context.Context) string

func CloseResponse

func CloseResponse(response *http.Response)

func GenerateHash

func GenerateHash(file string) error

GenerateHash 生成文件hash

func GetRepository

func GetRepository(ctx context.Context, mavenConfig *config.MavenConfig, libName string) (repository *config.Repository, err error)

GetRepository 获取对应的 Repository 本地仓库地址

func GolangConfig

func GolangConfig() *config.GolangConfig

GolangConfig 获取golang配置的资源文件信息

func MavenConfig

func MavenConfig() *config.MavenConfig

MavenConfig 获取maven配置的资源文件信息

func NpmConfig

func NpmConfig() *config.NpmConfig

NpmConfig 获取maven配置的资源文件信息

Types

This section is empty.

Directories

Path Synopsis
Package utility @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Package utility @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Jump to

Keyboard shortcuts

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