make

package
v0.80.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package make 提供一些通用的生成工具

Index

Constants

View Source
const FileHeader = "// 此文件由工具产生,请勿手动修改!\n\n"

Variables

This section is empty.

Functions

func ID

func ID(p Pair) string

Types

type Pair

type Pair struct {
	Name  string
	Value int
}

func GetStatuses

func GetStatuses() ([]Pair, error)

GetStatuses 从 net/http/status.go 获取所有的状态码

Jump to

Keyboard shortcuts

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