make

package
v0.85.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Pair

type Pair struct {
	Name  string
	Value int
}

func GetStatuses

func GetStatuses() ([]Pair, error)

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

func (Pair) ID added in v0.83.0

func (p Pair) ID() string

Jump to

Keyboard shortcuts

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