Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/essential/senior/105.reflect.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ const (
)
```

`Kind`类型仅仅实现了`Stringer`接口的`String()`方法,该类型也仅有这一个方法,`String()`方法的返回值来自于一个其内部的`map`,如下所示
`Kind`类型仅仅实现了`Stringer`接口的`String()`方法,该类型也仅有这一个方法,`String()`方法的返回值来自于一个其内部的
`slice`,如下所示,这种写法乍一看很像 map,但其实这是 Go 中的一种特殊的写法:索引初始化语法(index expressions in slice
literals)
Copy link

Copilot AI Aug 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parenthesis character ')' appears to be a full-width Chinese character. Consider using the standard half-width parenthesis ')' for consistency with programming documentation.

Suggested change
literals
literals)

Copilot uses AI. Check for mistakes.

```go
var kindNames = []string{
Expand Down