Skip to content

一些常用的go函数,避免开新项目时需要不停地复制粘贴.

Notifications You must be signed in to change notification settings

Kai5174/golibrary

Repository files navigation

golibrary

存了一些开发项目时常见的函数, 封装好了以便以后直接拿来用.

Usage

import "github.com/Kai5174/golibrary"

func main() {
    content, err := golibrary.ReadFile("hello.txt")
    if err != nil {
        log.Panicln(err.Error())
    }
    fmt.Println(string(content))
}

About

一些常用的go函数,避免开新项目时需要不停地复制粘贴.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages