Karp 的技术博客
主页
最新
踩坑教训
数据库
操作系统
Nginx
协议
编程语言
容器
网络安全
其他
编程语言
Go 语言中的下划线( `_`)

在 Go 语言中,下划线(_)具有特殊的含义和用途。它被称为“空白标识符”,主要用于丢弃不需要的值。以下是一些常见的用法和示例。

网络安全
在 Mac 上升级到 Go 1.18 的步骤

如果您希望在 Mac 上升级到 Go 1.18,可以按照以下步骤进行操作:

编程语言
Go 语言中的数组、切片和关联数组(Map)示例

Go 语言提供了多种数据结构以满足不同的需求。本文将介绍数组、切片(Slice)和关联数组(Map),并提供简单的示例代码。

编程语言
Golang 中 new 和 make 区别

Golang 中 newmake 的区别

踩坑教训
Uncaught Swoole\Coroutine\Http\Client\Exception: you must configure with `--enable-openssl`

Fatal error: Uncaught Swoole\Coroutine\Http\Client\Exception: you must configure with --enable-openssl to support SSL connection when compiling Swoole