utility

package
v0.0.0-...-96490c8 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 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

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 Config

func Config() *config.MavenConfig

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

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 本地仓库地址

Types

This section is empty.

Jump to

Keyboard shortcuts

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