Go1.21侯选版增加3个使用泛型的标准库

Go1.21侯选版已发布 官方Blog https://go.dev/blog/go1.21rc 部分原文如下: Standard library additions New log/slog package for structured logging. New slices package for common operations on slices of any element type. This includes sorting functions that are generally faster and more ergonomic than the sort package. New maps package for common operations on maps

Grafana插件开发记录

参考文档 https://grafana.com/tutorials/build-a-panel-plugin/ Grafana是一个跨平台、开源的数据可视化网络应用程序平台。用户配置连接的数据源之后,Grafana可以在网络浏览器里显示数据图

[脚本记录]ubuntu安装node,yarn,supervisor管理

环境脚本记录 1 2 3 4 5 6 curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add apt update apt install -y nodejs apt install -y yarn supervisor配置 1 2 3 4 5 [program:{yarn_app}] directory = /{yarn_run_path}/{yarn_app} command = yarn