简介
在 Go 语言中,函数可以返回多个值。此功能通常用于从函数中同时返回一个结果和一个错误值。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
go(("Golang")) -.-> go/FunctionsandControlFlowGroup(["Functions and Control Flow"])
go/FunctionsandControlFlowGroup -.-> go/functions("Functions")
subgraph Lab Skills
go/functions -.-> lab-15489{{"多个返回值"}}
end