二丫讲梵 二丫讲梵
首页
  • 最佳实践
  • 迎刃而解
  • Nginx
  • Php
  • Zabbix
  • AWS
  • Prometheus
  • Grafana
  • CentOS
  • Systemd
  • Docker
  • Rancher
  • Ansible
  • Ldap
  • Gitlab
  • GitHub
  • Etcd
  • Consul
  • RabbitMQ
  • Kafka
  • MySql
  • MongoDB
  • OpenVPN
  • KVM
  • VMware
  • Other
  • ELK
  • K8S
  • LLM
  • Nexus
  • Jenkins
  • 随写编年
  • 家人物语
  • 追忆青春
  • 父亲的朋友圈
  • 电影音乐
  • 效率工具
  • 博客相关
  • Shell
  • 前端实践
  • Vue学习笔记
  • Golang学习笔记
  • Golang编程技巧
  • 学习周刊
  • Obsidian插件周刊
关于
友链
  • 本站索引

    • 分类
    • 标签
    • 归档
  • 本站页面

    • 导航
    • 打赏
  • 我的工具

    • 备忘录清单 (opens new window)
    • json2go (opens new window)
    • gopher (opens new window)
    • 微信MD编辑 (opens new window)
    • 国内镜像 (opens new window)
    • 出口IP查询 (opens new window)
    • 代码高亮工具 (opens new window)
  • 外站页面

    • 开往 (opens new window)
    • ldapdoc (opens new window)
    • HowToStartOpenSource (opens new window)
    • vdoing-template (opens new window)
GitHub (opens new window)

二丫讲梵

行者常至,为者常成
首页
  • 最佳实践
  • 迎刃而解
  • Nginx
  • Php
  • Zabbix
  • AWS
  • Prometheus
  • Grafana
  • CentOS
  • Systemd
  • Docker
  • Rancher
  • Ansible
  • Ldap
  • Gitlab
  • GitHub
  • Etcd
  • Consul
  • RabbitMQ
  • Kafka
  • MySql
  • MongoDB
  • OpenVPN
  • KVM
  • VMware
  • Other
  • ELK
  • K8S
  • LLM
  • Nexus
  • Jenkins
  • 随写编年
  • 家人物语
  • 追忆青春
  • 父亲的朋友圈
  • 电影音乐
  • 效率工具
  • 博客相关
  • Shell
  • 前端实践
  • Vue学习笔记
  • Golang学习笔记
  • Golang编程技巧
  • 学习周刊
  • Obsidian插件周刊
关于
友链
  • 本站索引

    • 分类
    • 标签
    • 归档
  • 本站页面

    • 导航
    • 打赏
  • 我的工具

    • 备忘录清单 (opens new window)
    • json2go (opens new window)
    • gopher (opens new window)
    • 微信MD编辑 (opens new window)
    • 国内镜像 (opens new window)
    • 出口IP查询 (opens new window)
    • 代码高亮工具 (opens new window)
  • 外站页面

    • 开往 (opens new window)
    • ldapdoc (opens new window)
    • HowToStartOpenSource (opens new window)
    • vdoing-template (opens new window)
GitHub (opens new window)
  • 学习周刊

    • 2025年

    • 2024年

      • 学习周刊-总第140期-2024年第01周
      • 学习周刊-总第141期-2024年第02周
      • 学习周刊-总第142期-2024年第03周
      • 学习周刊-总第143期-2024年第04周
      • 学习周刊-总第144期-2024年第05周
      • 学习周刊-总第145期-2024年第06周
      • 学习周刊-总第146期-2024年第07周
      • 学习周刊-总第147期-2024年第08周
      • 学习周刊-总第148期-2024年第09周
      • 学习周刊-总第149期-2024年第10周
      • 学习周刊-总第150期-2024年第11周
      • 学习周刊-总第151期-2024年第12周
      • 学习周刊-总第152期-2024年第13周
      • 学习周刊-总第153期-2024年第14周
      • 学习周刊-总第154期-2024年第15周
      • 学习周刊-总第155期-2024年第16周
      • 学习周刊-总第156期-2024年第17周
      • 学习周刊-总第157期-2024年第18周
      • 学习周刊-总第158期-2024年第19周
      • 学习周刊-总第159期-2024年第20周
      • 学习周刊-总第160期-2024年第21周
      • 学习周刊-总第161期-2024年第22周
      • 学习周刊-总第162期-2024年第23周
      • 学习周刊-总第163期-2024年第24周
      • 学习周刊-总第164期-2024年第25周
      • 学习周刊-总第165期-2024年第26周
      • 学习周刊-总第166期-2024年第27周
      • 学习周刊-总第167期-2024年第28周
      • 学习周刊-总第168期-2024年第29周
      • 学习周刊-总第169期-2024年第30周
      • 学习周刊-总第170期-2024年第31周
      • 学习周刊-总第171期-2024年第32周
      • 学习周刊-总第172期-2024年第33周
      • 学习周刊-总第173期-2024年第34周
      • 学习周刊-总第174期-2024年第35周
      • 学习周刊-总第175期-2024年第36周
      • 学习周刊-总第176期-2024年第37周
      • 学习周刊-总第177期-2024年第38周
      • 学习周刊-总第178期-2024年第39周
      • 学习周刊-总第179期-2024年第40周
      • 学习周刊-总第180期-2024年第41周
      • 学习周刊-总第181期-2024年第42周
      • 学习周刊-总第182期-2024年第43周
      • 学习周刊-总第183期-2024年第44周
      • 学习周刊-总第184期-2024年第45周
        • 学习周刊-总第185期-2024年第46周
        • 学习周刊-总第186期-2024年第47周
        • 学习周刊-总第187期-2024年第48周
        • 学习周刊-总第188期-2024年第49周
        • 学习周刊-总第189期-2024年第50周
        • 学习周刊-总第190期-2024年第51周
        • 学习周刊-总第191期-2024年第52周
      • 2023年

      • 2022年

      • 2021年

    • Obsidian插件周刊

    • 周刊
    • 学习周刊
    • 2024年
    二丫讲梵
    2024-11-07
    目录

    学习周刊-总第184期-2024年第45周

    文章发布较早,内容可能过时,阅读注意甄别。

    # 0 ,前言

    周刊维护在:https://github.com/eryajf/learning-weekly (opens new window) 欢迎投稿,推荐或自荐项目 /文章 /博客,请提交 issue 。

    周刊核心为运维周刊,还会侧重Go语言生态,Vue相关技术生态的项目,以及 GitHub 上优秀项目或经验。

    你也可以在我的博客 https://wiki.eryajf.net/learning-weekly/ (opens new window) 查看汇总周刊。

    🔥 有不少人想单独从博客通过 RSS 订阅周刊的更新,现在它来了,你可以使用这个🔗 链接 (opens new window)进行订阅。

    # 1,优秀项目


    • 项目地址:gomplate (opens new window)
    • 项目说明:一个功能强大的 go 语言模板库,一些用法见下边例子。
    $ # at its most basic, gomplate can be used with environment variables...
    $ echo 'Hello, {{ .Env.USER }}' | gomplate
    Hello, hairyhenderson
    
    $ # but that's kind of boring. gomplate has tons of functions to do useful stuff, too
    $ gomplate -i 'the answer is: {{ mul 6 7 }}'
    the answer is: 42
    
    $ # and, since gomplate uses Go's templating syntax, you can do fun things like:
    $ gomplate -i '{{ range seq 5 1 }}{{ . }} {{ if eq . 1 }}{{ "blastoff" | toUpper }}{{ end }}{{ end }}'
    5 4 3 2 1 BLASTOFF
    
    $ # the real fun comes when you use datasources!
    $ cat ./config.yaml
    foo:
      bar:
        baz: qux
    $ gomplate -d config=./config.yaml -i 'the value we want is: {{ (datasource "config").foo.bar.baz }}'
    the value we want is: qux
    
    $ # datasources are defined by URLs, and gomplate is not limited to just file-based datasources:
    $ gomplate -d ip=https://ipinfo.io -i 'country code: {{ (ds "ip").country }}'
    country code: CA
    
    $ # standard input can be used as a datasource too:
    $ echo '{"cities":["London", "Johannesburg", "Windhoek"]}' | gomplate -d city=stdin:///in.json -i '{{ range (ds "city").cities }}{{.}}, {{end}}'
    London, Johannesburg, Windhoek,
    
    $ # and here's something a little more complicated:
    $ export CITIES='city: [London, Johannesburg, Windhoek]'
    $ cat in.tmpl
    {{ range $i, $city := (ds "cities").city -}}
    {{ add 1 $i }}: {{ include "weather" (print $city "?0") }}
    {{ end }}
    $ gomplate -d 'cities=env:///CITIES?type=application/yaml' -d 'weather=https://wttr.in/?0' -H 'weather=User-Agent: curl' -f in.tmpl
    1: Weather report: London
    
        \  /       Partly cloudy
      _ /"".-.     4-7 °C
        \_(   ).   ↑ 20 km/h
        /(___(__)  10 km
                   0.0 mm
    
    2: Weather report: Johannesburg
    
        \  /       Partly cloudy
      _ /"".-.     15 °C
        \_(   ).   ↘ 0 km/h
        /(___(__)  10 km
                   2.2 mm
    
    3: Weather report: Windhoek
    
        \  /       Partly cloudy
      _ /"".-.     20 °C
        \_(   ).   ↑ 6 km/h
        /(___(__)  20 km
                   0.0 mm
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58

    • 项目地址:knife4j (opens new window)
    • 项目说明:该项目是集成 Swagger 生成 Api 文档的增强解决方案,更加好看,功能更丰富强大。

    • 项目地址:knife4go (opens new window)
    • 项目说明:顾名思义,这个项目是一个可以让你的 go 项目,快速集成如上项目的工具库。前提是你的项目框架使用的是 gin 框架。

    • 项目地址:minimalist-saas (opens new window)
    • 项目说明:极简多租户管理系统是一个基于 SpringBoot3 + Vue3 打造的前后端分离的 Java 快速开发脚手架,基于数据库字段隔离的多租户管理系统,具备常规基础功能的单体应用。

    • 项目地址:LeapLedger (opens new window)
    • 项目说明:一个的前后端分离免费开源的记账软件,服务端使用 Gin 框架,基于 Nats、Mysql、Redis 实现,带来快速的响应和稳定的服务。使用 docker 即可快速部署和构建客户端安装包。客户端基于 flutter 构建。

    申明

    原创文章eryajf,未经授权,严禁转载,侵权必究!此乃文中随机水印,敬请读者谅解。

    Copyright 二丫讲梵 (opens new window) 版权所有

    # 2,优秀文章


    • 小米15手机(澎湃OS2):如何关闭推荐广告 (opens new window)
    • 如题,关闭之后会发现,仿佛进入了一个新世界。

    • 最好的解决办法就是请人吃饭 (opens new window)
    • 有意思的文章,结合其他博友的文章与自己的生活进行点评,是一个不错的形式。

    # 3,优秀博客


    • 博客地址:璎耜 (opens new window)
    • 简单说明:该博客是作者记录工作、居家过程中学习到的知识点与一些人生思考。

    • 博客地址:程序员大勇 (opens new window)
    • 简单说明:前端开发者,博客折腾的很不错。

    微信 支付宝
    #学习周刊
    上次更新: 2025/03/06, 21:25:58
    学习周刊-总第183期-2024年第44周
    学习周刊-总第185期-2024年第46周

    ← 学习周刊-总第183期-2024年第44周 学习周刊-总第185期-2024年第46周→

    最近更新
    01
    学习周刊-总第212期-2025年第21周
    05-22
    02
    从赵心童世锦赛夺冠聊聊我的斯诺克情缘
    05-16
    03
    学习周刊-总第211期-2025年第20周
    05-15
    更多文章>
    Theme by Vdoing | Copyright © 2017-2025 | 点击查看十年之约 | 浙ICP备18057030号
    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式