GitHub Advisory Database now open to community contributions
Anyone can now provide additional information to further the community’s understanding and awareness of security advisories. ⌘ Read more
Code scanning finds more vulnerabilities using machine learning
Today we launched new code scanning analysis features powered by machine learning. The experimental analysis finds more of the most common types of vulnerabilities. ⌘ Read more
Leveraging machine learning to find security vulnerabilities
A behind-the-scenes peek into the machine learning framework powering new code scanning security alerts. ⌘ Read more
How to make the most out of a mentoring relationship
Tips from our developer advocates on how and why to find a mentor. ⌘ Read more
Encoding and escaping untrusted data to prevent injection attacks
Practical tips on how to apply OWASP Top 10 Proactive Control C4. ⌘ Read more
GitHub Enterprise Server 3.4 improves developer productivity and adds reusable workflows to CI/CD
The GitHub Enterprise Server 3.4 release candidate delivers enhancements to make life easier and more productive, from keyboard shortcuts to auto-generated release notes! ⌘ Read more
The GitHub Stars in our eyes ⭐️
Over the past year, the GitHub Stars have made a tremendous impact in the community with their influence, inspiring and building communities and creating content to help everyone. ⌘ Read more
Announcing the 2022 MLH Fellowship Cohort, powered by GitHub
The MLH Fellowship, powered by GitHub, is a 12-week internship alternative for aspiring software engineers. Meet the 2022 cohort! ⌘ Read more
Include diagrams in your Markdown files with Mermaid
A picture tells a thousand words. Now you can quickly create and edit diagrams in markdown using words with Mermaid support in your Markdown files. ⌘ Read more
Getting started with project planning on GitHub
Stop context switching. Keep your team’s project planning next to your code. ⌘ Read more
How to start using reusable workflows with GitHub Actions
Reusable workflows offer a simple and powerful way to avoid copying and pasting workflows across your repositories. ⌘ Read more
Coordinated vulnerability disclosure (CVD) for open source projects
A comprehensive guide for vulnerability reporters. ⌘ Read more
Improving the developer experience for Dependabot alerts
Today, we’re shipping improvements to Dependabot alerts that make them easier to understand and remediate. ⌘ Read more
Release Radar · January 2022 Edition
Here’s January’s top staff picks on projects that shipped major version releases. ⌘ Read more
GitHub Availability Report: January 2022
In January, we experienced no incidents resulting in service downtime to our core services. ⌘ Read more
How to build a CI/CD pipeline with GitHub Actions in four simple steps
A quick guide on the advantages of using GitHub Actions as your preferred CI/CD tool—and how to build a CI/CD pipeline with it. ⌘ Read more
New sponsors-only repositories, custom amounts, and more
Along with the release of sponsors-only repositories, here’s a look at what’s new and what’s next for Sponsors. ⌘ Read more
Will have to take a look at Gogs. Ideally wanting it to be easy to have the same ease-of-use to setup a web page as Github and Gitea.
Code scanning and Ruby: turning source code into a queryable database
A deep dive into how GitHub adds support for new languages to CodeQL. ⌘ Read more
Top-100 npm package maintainers now require 2FA, and additional security-focused improvements to npm
Starting today, we are rolling out mandatory 2FA to all maintainers of top-100 npm packages by dependents. ⌘ Read more
Dependency graph now supports GitHub Actions
The dependency graph helps developers and maintainers understand the code they depend on, and now includes GitHub Actions! ⌘ Read more
2021 Transparency Report
In GitHub’s latest transparency report, we’re giving you a by-the-numbers look at how we responded to requests for user info and content removal. ⌘ Read more
One year ago to the date I made the lastest update for #phpub2twtxt to github and now 365 days later I have published #pixelblog as its successor - lets see where things are going for trip around the sun
Thinking beyond SQL injection: OWASP tips for secure database access
When it comes to secure database access, there’s more to consider than SQL injections. OWASP Top 10 Proactive Control C3 offers guidance. ⌘ Read more
** Notes on 6502 Assembly **
The NES runs a very slightly modified 6502 processor. What follows are some very introductory, and not at all exhaustive notes on 6502 Assembly, or ASM.
If you find this at all interesting, Easy 6502 is a really great introductory primer on 6502 Assembly that lets you get your hands dirty right from a web browser.
NumbersNumbers pre … ⌘ Read more
Get ready for Campus TV Season 2: 🌱 New Beginnings
Learn new skills, build projects and meet like-minded students with the latest shows from the GitHub Education Stream Team. ⌘ Read more
Highlights from Git 2.35
The open source Git project just released Git 2.35. Here’s GitHub’s look at some of the most interesting features and changes introduced since last time. ⌘ Read more
For the Wordle players around here (@lyse@lyse.isobeef.org, @xuu@txt.sour.is, @movq@www.uninformativ.de), and for those moments in which you rather cheat, than lose: https://github.com/KevinXuxuxu/wordle_machine. 😂
Release Radar · December 2021 Edition
Many of us were wrapping up projects, emails, events, and getting ready for Christmas. While we were all busy getting ready for the festive season, our community was still hard at work shipping open source ⌘ Read more
GoCN 每日新闻 (2022-01-21)
GoCN 每日新闻 (2022-01-21)
- stream: go 语言并发通信设计模式的泛型实现https://github.com/devnw/stream
- 一个比” ldflags” 更好的方式来添加构建版本号到 go 二进制的方式:https://levelup.gitconnected.com/a-better-way-than-ldflags-to-add-a-build-version-to-your-go-binaries-2258ce419d2d
- 怎么处理 HTTP 错误” context canceld”[https://www.reddit.com/r/golang/comments/s7o5ay/investigating_context_canceled_http_err … ⌘ Read more
Open source creates value, but how do you measure it?
When digital infrastructure is overlooked by governments, it isn’t just a missed opportunity: policies may inadvertently endanger open source collaboration. ⌘ Read more
引领中国分布式数据库企业技术创新力,平凯星辰获得赛迪顾问报告推荐
近日,赛迪顾问正式发布《2021 中国分布式数据库最具成长价值企业研究报告》, 报告从技术创新力和市场影响力两个维度对中国分布式数据库创新企业进行评估,平凯星辰在技术创新力的维度排名第一。
报告指出,平凯星辰将开源作为长期核心战略,坚信开源是当今基础软件领域取得世界范围内成功的最佳路径。目前 TiDB 项目在 GitHub 上已总计获得超过 30,000+ 颗星,累计超过 1600 位开源贡献者,是全球数据库活跃度排名前三的开源项目,也是中国排名前 … ⌘ Read more
GoCN 每日新闻(2022-01-20)
- 从 CPU 角度理解 Go 中的结构体内存对齐https://gocn.vip/topics/20967
- 博客 Go beyond workhttps://changelog.com/gotime/212
- 如何绘制随时间变化的 Go 测试覆盖率https://osinet.fr/go/en/articles/plotting-go-test-coverage/
- Redix v5 一个简单的 KeyValue 存储系统https://github.com/alash3al/redix?_v=5.0.0
- 既然 IP 层会分片,为什么 TCP 层也还要分段[https://mp.weixin.qq.com/s/0boFt8cOAbmjH2IRr7XtY … ⌘ Read more
Reducing security risk in open source software with GitHub Actions and OpenSSF Scorecards V4
We’re excited to announce the V4 release of the OpenSSF’s Scorecard project in partnership with Google. ⌘ Read more
GoCN 每日新闻(2022-01-19)
GoCN 每日新闻(2022-01-19)- Go1.18 新特性:多 Module 工作区模式https://mp.weixin.qq.com/s/Aa9s_ORDVfzbj915aJD5_w
- Go 中的可视化 - 绘制股票信息https://www.ardanlabs.com/blog/2022/01/visualizations-in-go.html
- 带你彻底击溃跳表原理及其 Golang 实现!(内含图解) https://mp.weixin.qq.com/s/5wrHQz_LqeQn3NLuF8yu0A
- go-zero 对接分布式事务 dtm 保姆式教程[https://github.com/Mikaelemmmm/gozerodtm](h … ⌘ Read more
How open source is supporting NASA’s new eyes in space
With the successful liftoff of the James Webb Space Telescope, we ask our very own Arfon Smith about the history of open source and space science. ⌘ Read more
关于 Go 代码结构的思考
关于 Go 代码结构的思考- 原文地址: https://changelog.com/posts/on-go-application-structure
- 原文作者:Jon Calhoun
- 本文永久链接: https://github.com/gocn/translator/blob/master/2022/w2_Thoughts_on_how_to_structure_Go_code.md
- 译者: lsj1342
- 校对: xkkhy、 zhuyaguang
\*\*\*
… ⌘ Read more
Golang 的 Elastic 链接库
Golang 的 Elastic 链接库 背景介绍Elasticsearch 是一个分布式、高扩展、高实时的搜索与数据分析引擎,用于海量文档的搜索。有些项目会将 Elasticsearch 当做存储海量数据的数据库使用,可见其查询性能之高效。作为面向文档的搜索引擎,Elasticsearch 比起传统数据库更偏向于结构化数据的高效查询,其独特的倒排索引更能将查询性能提升至极致。在大数据微服务时代,Elasticsearch 在海量数据搜索、数据挖掘、人工智能领域都起到了关键作用。
安装go get <span class="s2">"github.com/olivere/elastic/v7"</span>
Elasticsearch 的数据来源通常来自于 Logstash 等数据采集中间件,作为 golang 项目来说,其查询功能的使用更加普遍。
此文章以 V7 版本为例来介绍如何使用 golang 对 Elasticsearch 进行查询。
<span class="k">import</span> <span cla ... ⌘ [Read more](https://gocn.vip/topics/20956)
Top-rated entries from Game Off 2021
Here are the top games created in our annual game jam as rated and reviewed by the developers that made them. Game On! 🤘🏻 ⌘ Read more
How five open source communities are using GitHub Discussions
From answering questions about a new release to fielding feature requests, here’s how five open source communities use GitHub Discussions. ⌘ Read more
The Open Source Software Security Summit: securing the world’s code together
My colleague Stormy Peters and I are proud to represent GitHub at the White House’s Open Source Software Security Summit to share how securing open source begins by empowering developers. ⌘ Read more
How we ship GitHub Mobile every week
Learn how the GitHub Mobile Team automates their release process with GitHub Actions. ⌘ Read more
GoCN 每日新闻(2022-01-12)
GoCN 每日新闻(2022-01-12)
- Go 实现的自动保存 Git 项目中未提交代码https://github.com/nikochiko/autosaved
- Go 中快速、简单的全栈 Web 开发入门工具包https://github.com/mikestefanello/pagoda
- Golang Redis RESP3 客户端,自动流水线并支持客户端缓存https://github.com/rueian/rueidis
- Runtime 不变性检查库[https:/ … ⌘ Read more
Go 模糊测试
- 原文地址: https://tip.golang.org/doc/fuzz/
- 原文作者:Go Team
- 本文永久链接:https:/github.com/gocn/translator/blob/master/2022/w01_Go_Fuzzing.md
- 译者: fivezh
- 校对: zxmfke
从 Go 1.18 版本开始,标准工具集开始支持模糊测试。
概述模糊测试(Fuzzing)是一种自动化测试方法,通过不断地控制程序输入来发现程序错误�� … ⌘ Read more
GoCN 每日新闻 (2022-01-10)
GoCN 每日新闻 (2022-01-10)- Minecraft 管理 K8S 集群https://eric-jadi.medium.com/minecraft-as-a-k8s-admin-tool-cf16f890de42
- go ebpf 管理包https://github.com/ehids/ebpfmanager
- Go 错误处理https://earthly.dev/blog/golang-errors/
- Go 中实现用户的每日限额(比如一天只能领三次福利) [https://jueji … ⌘ Read more
GoCN 每日新闻 (2022-01-09)
- 带你探究 Go 语言的 iotahttps://mp.weixin.qq.com/s/V5iJgcLhCYMZd5l8akfbVQ
- 项目实战:使用 Fiber + Gorm 构建 REST APIhttps://mp.weixin.qq.com/s/RqUOLP-OG_wOpCzxVTAl6w
- Effective Error Handling in Golanghttps://earthly.dev/blog/golang-errors/
- 为什么不在 golang 中构建一个 redis 客户端[https://mauricio.github.io/2022/0 … ⌘ Read more
GoCN 每日新闻 (2022-01-08)
- Go 1.17.6/1.16.13 版本发布https://groups.google.com/g/golang-announce/c/95ZD3rKn4DI/m/93cyN8F1BAAJ
- 高效的 Go 错误处理https://earthly.dev/blog/golang-errors/
- 从零实现一个 RedisClient 了解 Redis 协议https://mauricio.github.io/2022/01/07/redis-protocol.html
- Golang 简洁架构实战[https://zh … ⌘ Read more
GoCN 每日新闻 (2022-01-07)
GoCN 每日新闻 (2022-01-07)
- 用 golang 在 tor 网络上安全的私有部署共享文件服务https://github.com/R4yGM/garlicshare
- 一个极速的 golang 全栈 web 开发包https://github.com/mikestefanello/pagoda
- ch 一个 clickhouse 客户端,比 rust 和 c++ 的都快https://github.com/go-faster/ch
- 用 gosec 扫描 go 源码的漏洞[https://jcdan3.medium. … ⌘ Read more
GoCN 每日新闻 (2022-01-06)
- Golang profiler 笔记https://github.com/DataDog/go-profiler-notes/blob/main/README.md
- Bundling templates with embedhttps://osinet.fr/go/en/articles/bundling-templates-with-embed/
- Go 通过 Map/Filter/ForEach 等流式 API 高效处理数据https://gocn.vip/topics/20922
- 滴滴夜莺监控发布 v5 正式版,定位 Promet … ⌘ Read more
GitHub Availability Report: December 2021
In December, we experienced no incidents resulting in service downtime to our core services. ⌘ Read more
How the community powers GitHub Advanced Security with CodeQL queries
The GitHub Security Lab’s CodeQL bounty program fuels GitHub Advanced Security with queries written by the open source community. ⌘ Read more
Rust 与 Go: 为何相得益彰
Rust 与 Go: 为何相得益彰- 原文地址: https://thenewstack.io/rust-vs-go-why-theyre-better-together/
- 原文作者: Jonathan Turner and Steve Francia
- 本文永久链接:https:/github.com/gocn/translator/blob/master/2021/w52_rust_vs_go_why_there_are_better_together.md.md
- 译者: [xkkhy](https:/gith … ⌘ Read more
Dumpling 导出表内并发优化丨 TiDB 工具分享
前言李淳竹(lichunzhu),TiDB 研发工程师
SIG 组:Migrate SIG Community,主要涵盖 TiDB 数据处理工具,包含 TiDB 数据备份/导入导出,TiDB 数据变更捕获,其他数据库数据迁移至 TiDB 等
Dumpling 是由 Go 语言编写的用于对数据库进行数据导出的工具。目前支持 MySQL 协议的数据库,并且针对 TiDB 的特性进行了优化。 [Go Dumpling! 让�� … ⌘ Read more
Excelize 发布 2.5.0 版本,Go 语言 Excel 文档基础库
Excelize 是 Go 语言编写的用于操作 Office Excel 文档基础库,基于 ECMA-376,ISO/IEC 29500 国际标准。可以使用它来读取、写入由 Microsoft Excel™ 2007 及以上版本创建的电子表格文档。支持 XLSX / XLSM / XLTM 等多种文档格式,高度兼容带有样式、图片 … ⌘ Read more
喜报!GoFrame 开源项目获得,2021 年度开源中国最受欢迎开源项目奖!
喜报!GoFrame 开源项目获得,2021 年度开源中国最受欢迎开源项目奖!
感谢感谢所有社区团队小伙伴的辛勤付出!
… ⌘ Read more@jlj@twt.nfld.uk right now the getwtxt-ng source is in a private repo on github, though I may move it to sr.ht for its primary home (and just mirror it to github)
GoCN 每日新闻(2021-12-29)
GoCN 每日新闻(2021-12-29)
- 用 Go 实现向手机推送工具https://github.com/binwiederhier/ntfy
- 基于 Go 实现 Mumble 和 Discord 之间的语音工具https://github.com/Stieneee/mumble-discord-bridge
- Go 中这么多创建 error 的方式,你真的了解它们各自的应用场景吗https://gocn.vip/topics/20911
- Go 依赖分析工具包[http … ⌘ Read more
[深圳] 百度 BFE 项目招聘 Go 研发工程师
团队简介百度智能负载均衡团队负责维护 BFE 开源项目,并研发负载均衡商业产品。
BFE 是基于 Go 语言的七层负载均衡系统,已经在百度内经过多年的研发,每天转发万亿级的请求。BFE 于 2019 年 7 月开源,2020 年 6 月成为 CNCF 官方项目。
除百度以外,BFE 已经被 360、用友网络、招商银行、央视网等公司或机构使用。
BFE 开源项目地址:
GitHub’s top 10 blog posts of 2021
As the year winds down, we’re highlighting some of the incredible work from GitHub’s engineers, product teams, and security researchers. ⌘ Read more
Trying to get down to Reading List Zero before I need to go back to work next year. The latest to be removed from the list because I read the thing: https://ngnghm.github.io/
GoCN 每日新闻(2021-12-27)
GoCN 每日新闻(2021-12-27)
- ApacheCN Golang 译文集https://github.com/apachecn/apachecn-golang-zh
- Dubbo-go v3.0 正式发布 ——打造国内一流开源 Go 服务框架https://developer.aliyun.com/article/839884
- Go Quiz: 从 Go 面试题看 slice 的底层原理和注意事项https://juejin.cn/post/7045953087080497166
- 为什么 … ⌘ Read more
GoCN 每日新闻 (2021-12-26)
- Go 泛型的 facilitator 模式https://rakyll.org/generics-facilititators
- Go 1.18 泛型: 好的、坏的、丑的https://itnext.io/golang-1-18-generics-the-good-the-bad-the-ugly-5e9fa2520e76
- Go 调试器发布 Delve 1.8.0 版本,支持 1.18 泛型调试https://github.com/go-delve/delve/releases/tag/v1.8.0
4 … ⌘ Read more
GoCN 每日新闻(2021-12-25)
- Python 在 Go 中的双向嵌入https://github.com/tliron/py4go
- golang 实的 xmpp 服务 jackal v0.55.0https://github.com/ortuman/jackal
- Go 有哪几种无法恢复的致命场景? https://mp.weixin.qq.com/s/gSfzrSKYbZTP8COz4lZKHQ
- 必看!6 步入门 Gohttps://mp.weixin.qq.com/s/DRpmh41dGAfzSOMsvwy8wA
- … ⌘ Read more
🙌 Liked: Lisp in Life - Conway’s Game of Life ⌘ Read more
Hey. I my own local forward tool. https://github.com/JonLundy/sshfwd it uses ssh port forwards.
Hey. I my own local forward tool. https://github.com/JonLundy/sshfwd it uses ssh port forwards.
GoCN 每日新闻(2021-12-22)
GoCN 每日新闻(2021-12-22)- 使用 Go 和 SQLite 构建生产应用程序
- 使用 context.Context 模拟 API 客户端https://incident.io/blog/golang-client-mocks
- 一种可嵌入的 Go 脚本语言,实现了逻辑编程语言 Prologhttps://github.com/ichiban/prolog
- SSA:终于知道编译器偷摸做了哪些事[https://mp.weixin.qq.com/s/nOhMsMeP1pUFEXKAMUzbWg](https://mp.weixin.qq.com/ … ⌘ Read more
How GitHub contributed to the Santa Clara Principles update
GitHub was honored to contribute to the Santa Clara Principles on Transparency and Accountability in Content Moderation 2.0. ⌘ Read more
How to leverage security frameworks and libraries for secure code
In this post, I’ll discuss how to apply OWASP Proactive Control C2: Leverage security frameworks and libraries. ⌘ Read more
The QOI File Format Specification
Last month I announced a
toy project called QOI — the Quite OK Image Format. It losslessly compresses
RGB and RGBA images to a similar size of PNG, while offering a 20x-50x
speedup in compression and 3x-4x speedup in decompression.
With the help of countless passionate people on Github, we have refined some of
the rough edges and specified exactly what … ⌘ Read more
http benchmarking 工具”go-wrk”支持 javascript 脚本了
wrk 是一个比较出名的 http benchmarking 工具,它支持用 Lua 脚本编写任务。
go-wrk 是原作者在早年开发的仿 wrk 的工具,但不支持脚本。没有脚本的话在测试稍复杂的业务时就力不从心。
现在我给加上了 JavaScript 的支持,用的 js 引擎是 Goja. 欢迎大家体验测试提 issue, 有时间的话我会继续改进。详见: [ … ⌘ Read more
全文检索库 bluge
全文检索库 bluge 推荐理由提到全文检索库,第一个想到的就是 Java 实现的 lucene,今天介绍一款 Golang 实现的全文检索库 bluge。bluge 脱胎于 Bleve,是当前 Github 比较火的搜索引擎项目 zinc 的底层索引检索库。
功能介绍bluge 索引存储支持内存,本地文件,以及扩展云存储等方式,文档字段类型支持 Text, Numeric, Date, Geo Point 等。
查询检索支持如下特性:
- 支持多种�� … ⌘ Read more
Goravel,一个功能完备、具有良好扩展能力的 Golang Web 应用程序框架,致敬 Laravel
Goravel 是一个功能完备、具有良好扩展能力的 Web 应用程序框架。 作为一个起始脚手架帮助 Golang 开发者快速构建自己的应用。
项目地址: https://github.com/goravel/goravel
�� … ⌘ Read more
教程:如何开始使用泛型
教程:如何开始使用泛型- 原文地址: https://go.dev/doc/tutorial/generics
- 原文作者:go.dev
- 本文永久链接: https://github.com/gocn/translator/blob/master/2021/w49_Tutorial_Getting_started_with_generics.md
- 译者: zxmfke
- 校对: cvley
目�� … ⌘ Read more
Getting started with GitHub Actions just got easier!
When you want to create a workflow in the Actions tab of your repository, the recommendations are now based on an analysis of repo content. ⌘ Read more
Technical interviews via Codespaces
Codespaces is a great tool for technical hiring exercises and helps level the playing field for candidates. ⌘ Read more
5 automations every developer should be running
Looking to avoid security vulnerabilities, buttons that don’t work, slow site speeds, or manually writing release notes? This one’s for you. ⌘ Read more
GoCN 每日新闻 (2021-12-16)
GoCN 每日新闻 (2021-12-16)
Go1.18 泛型初体验https://gocn.vip/topics/20855
Ingress API 的增强属性https://github.com/ksrichard/easyraft
使用 eBPF 代替 iptables 优化服务网格数据面性能https://mp.weixin.qq.com/s/r7Yomt1u_EWrngAEPiBJiA
Go Modules 的前世今生与基本使用[https://mp.weixin.qq.com/s/mTQbKcNFXu7Fqcr5SDX2qA](http … ⌘ Read more
A brief history of code search at GitHub
This blog post tells the story of why we built a new search engine optimized for code. ⌘ Read more
漏桶限流库 — uber-go/ratelimit
编辑推荐:Bazinga
上次有同学分享了 单机限流器 time/rate 库,讲了 Golang 标准库中基于令牌桶实现限流组件的 time/rate 使用,同时也讲了一些限流算法原理。
这里分享一个 uber 开源的一套基于漏桶实现的用于服务限流的 golang 库 ratelimit。
漏洞算法的理解起来,相较于令牌桶,没有那么直观。因为令牌桶是限�� … ⌘ Read more
GoCN 每日新闻(2021-12-15)
GoCN 每日新闻(2021-12-15)
- Go 1.18beta1https://go.dev/blog/go1.18beta1
- Go 中易于使用的 Raft 库,使您的应用程序具有分布式、高可用性和容错性https://github.com/ksrichard/easyraft
- Go 实现的开源的、不可变的数据库 immudbhttps://github.com/codenotary/immudb/tree/v1.2.1
- Rust vs Go:你应该知道的 8 大核心 … ⌘ Read more
Using GitHub’s security features to help identify Log4j exposure in your codebase
Use GitHub’s security features to assess Apache Log4j exposure and, where possible, mitigate this vulnerability within your GitHub repositories. ⌘ Read more
How to define security requirements for your OSS project
Defining your security requirements is the most important proactive control you can implement for your project. Here’s how. ⌘ Read more
GoCN 每日新闻(2021-12-14)
GoCN 每日新闻(2021-12-14)
- 发生即看见,一切可回溯,TiDB Continuous Profiling 应用实践https://mp.weixin.qq.com/s/61OVu5B9nzCqI-z65NYjRQ
- 直播流媒体网络传输服务https://github.com/q191201771/lal
- 基于寄存器调用的软件加速https://gocn.vip/topics/20835
- Go Ballast 让内存控制更加丝滑[https://gocn.vip/topics/17480]( … ⌘ Read more
Go 快速指南:go1.18 特性
- 原文地址: https://medium.com/@emreodabas_20110/quick-guide-go-1-18-features-e236d5b351ef
- 原文作者:Emre Odabas
- 本文永久链接: https://github.com/gocn/translator/blob/master/2021/w48_quick_guide_go1.18_features.md
- 译者: cuua
- 校对: [zxmfke](http://github.com/z … ⌘ Read more
封装 zap 日志注入 trace 信息 Trace Id(内含 gin 例子)
hlog (源码地址)- 实现自动切割文件 (基于 lumberjack 实现)
- 实现可传递 trace 信息(基于 Context 实现)
- Development bool // 是否开发模式
- LogFileDir string // 日志路径
- AppName string // APP 名字
- MaxSize int //文件多大开始切分
- MaxBackups int //保留文件个数
- MaxAge int //文件保留最大实际
- … ⌘ Read more
GitHub’s response to Log4j vulnerability CVE-2021-44228
On Thursday, December 9, 2021, GitHub was made aware of a vulnerability in the Log4j logging framework, CVE-2021-44228. ⌘ Read more
What’s new from GitHub Changelog? November 2021 recap
We shipped a ton of updates in November, from the push notification for PR review activities on the go, to an easy way to create Markdown links. ⌘ Read more
GitHub at the UN Internet Governance Forum
Last week, GitHub joined the Internet Governance Forum to spread awareness of developers’ initiatives and public policy interests. ⌘ Read more
GoCN 每日新闻(2021-12-13)
GoCN 每日新闻(2021-12-13)
- 尝鲜 Go 1.18 范型版本的 map 和 slice!https://juejin.cn/post/7040800455349239822
- Go 实现可序列化的 Roaring Bitmapshttps://dgraph.io/blog/post/serialized-roaring-bitmaps-golang/
- Go 使用 Github Actions 做 CI[https://www.alexedwards.net/blog/ci-with-go-and-github-actions](https://www.alexedwards.net/blog/ci-with-go-and-github … ⌘ Read more
高性能中文分词库 gojieba
gojieba 是什么?gojieba 是 Python 知名分词库结巴 jieba 的 Go 语言实现版本,底层分词算法由 C++ 实现,具备很高的性能; gojieba 解决了在做文本分析,文本搜索相关业务功能时的分词需求。
gojieba 支持多种分词方式:
- 全模式:把文本中所有可能的� … ⌘ Read more
fake english word generation for Go and CLI: [[https://github.com/nwtgck/go-fakelish]] #links
a zero dependency shell script that makes it really simple to manage your text notes [[https://github.com/nickjj/notes]] #links
squinewave: a sine-square-saw-pulse oscillator with hardsync: [[https://github.com/required-field/squinewave]] #links
快速搭建私有云服务 go-btfs
快速搭建私有云服务 go-btfs 1. go-btfs 是什么?go-btfs go-btfs 是一个去中心化的文件存储平台,无论图片、文件、视频等等各类文件。
每个人都可以在自己电脑上安装部署 BTFS 节点,然后大家的节点相互连接,构成一个整体网络,
网络中某一个节点上传文件,其他节点就像访问本地一样直接下载使用。同时,它还支持冗余备份,使用 reed-solomn … ⌘ Read more
GoCN 每日新闻 (2021-12-10)
GoCN 每日新闻 (2021-12-10)
- bob 一个从天上掉下来的构建工具https://github.com/benchkram/bob
- hackgo 编译器让 go 添加一个新的关键字https://avi.im/blag/2021/rc-day-24/
- 一个” 自由 “解析 xml 而不是预定义 struct 的工具https://github.com/xrfang/fxml
- 一个真开源的 mongodb 的替代者[https://github.com/FerretDB/FerretDB](https://gi … ⌘ Read more
基于寄存器调用的软件加速
- 原文地址: https://menno.io/posts/golang-register-calling/
- 原文作者: Menno Finlay-Smits
- 本文永久链接: https://github.com/gocn/translator/blob/master/2021/w47_faster_software_through_register_based_calling.md
- 译者: cvley
2021年11月23�� … ⌘ Read more
Introducing stack graphs
Precise code navigation is powered by stack graphs, a new open source framework that lets you define the name binding rules for a programming language. ⌘ Read more
Precise code navigation for Python, and code navigation in pull requests
Code navigation is now available in PRs, and code navigation results for Python are now more precise. ⌘ Read more