格物致知

try using go generate

Original link:https://liqiang.io/post/using-go-generate-with-go-a10df252 In Go, there is an unwritten habit, that is, many people like to generate code, such as the directory structure of the project, the stub code of grpc are all generated by tools, and the small ones such as static files are embedded in the code and automatically generated The String form of […]

try using go generate Read More »

try using go generate

Original link:https://liqiang.io/post/using-go-generate-with-go-a10df252 In Go, there is an unwritten habit, that is, many people like to generate code, such as the directory structure of the project, the stub code of grpc are all generated by tools, and the small ones such as static files are embedded in the code and automatically generated The String form of

try using go generate Read More »

Jetbrains Save Bookmarks

Original link: https://liqiang.io/post/backup-bookmark-with-jetbrains When using the Jetbrains series IDE, I like to use the bookmark function, especially when I am new to a new project, I will use it to mark some key codes. However, the problem with this function is that it cannot be backed up. Even I lost a bookmark of a project

Jetbrains Save Bookmarks Read More »

Digital Ocean Function Development

Original link: https://liqiang.io/post/digitalocean-serverless-functions-develop Recently, I was experiencing the functions of some cloud products. I originally wanted to try to put a relatively rarely used project on the Function on Digital Ocean (because I used VM before), but after trying it out, I still felt that it was not enough, so I gave up , however,

Digital Ocean Function Development Read More »