Constant Parameter in golang function

前端 未结 0 832
心在旅途
心在旅途 2021-02-11 22:44

I am new to the golang. Is it possible to mark a parameter as constant in function ? So that the parameter is not modified accidentally.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题