mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-14 12:40:58 +00:00
Fix "函数" and "方法"
This commit is contained in:
@@ -9,7 +9,7 @@ type Vertex struct {
|
||||
Val int
|
||||
}
|
||||
|
||||
// NewVertex 构造方法
|
||||
// NewVertex 构造函数
|
||||
func NewVertex(val int) Vertex {
|
||||
return Vertex{
|
||||
Val: val,
|
||||
|
||||
Reference in New Issue
Block a user