编辑
2024-06-01
👨‍🎓 无限进步
00

How Git Commands work

To begin with, it's essential to identify where our code is stored. The common assumption is that there are only two locations - one on a remote server like Github and the other on our local machine. However, this isn't entirely accurate. Git maintains three local storages on our machine, which means that our code can be found in four places:

编辑
2024-06-01
👨‍🎓 无限进步
00

DevOps vs. SRE vs. Platform Engineering. What is the difference?

DevOps、SRE和平台工程的概念在不同时期出现,并由不同的个人和组织发展而来。

编辑
2024-05-31
👨‍🎓 无限进步
00

How to learn payment systems?

编辑
2024-05-31
🧰语言-go
00

语法

右边是一个泛型接口,其中类型参数T可以是任务类型

image.png

编辑
2024-05-31
🧰语言-go
00

接口定义

基本语法: type 名字 interface{}

  • 里面只能有方法,方法也不需要func关键字

什么是接口?:接口是一组行为的抽象

  • 尽量用接口,以实现面向接口编程

原则上任务:即便是任务开发,也应该面向接口编程