pkg

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT

README

pkg

简介

pkg 是一个 Go 语言的工具包,提供了一些常用的工具函数、数据结构和常用组件封装。

功能特性

  • safemap: 线程安全、高性能的 map 结构
  • ringbuffer: 环形数据结构
  • casbin: Casbin 的 upper 适配器
  • encoding: 编解码 json,针对不同的平台使用不同的库,默认使用 gojson
  • log: 日志封装, 允许通过编辑配置文件动态修改日志级别

如何使用

go get -u github.com/go-inspire/pkg@main

依赖

许可证

pkg 采用 MIT 许可证。 详见 LICENSE 文件。

Directories

Path Synopsis
app
casbin
cmd
internal
wyhash
Package wyhash implements https://github.com/wangyi-fudan/wyhash
Package wyhash implements https://github.com/wangyi-fudan/wyhash
Package ringbuffer is simple ring (circular) buffer implementation.
Package ringbuffer is simple ring (circular) buffer implementation.

Jump to

Keyboard shortcuts

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