1.4function_method_interface

command
v0.0.0-...-3e295c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

  • GO语言中函数有具名和匿名之分
  • GO语言通过隐式接口机制实现了鸭子面向对象模型
  • 同一个文件内有多个init函数,则是以出现的顺序调用
  • GO程序函数启动顺序的示意图: qr
  • 切片作为参数的时候传递的也是值,包含了切片的长度、容量、数组指针
  • GO语言函数的递归调用深度逻辑上没有限制
  • 32位体系结构栈最大空间为250MB,64位体系结构栈最大空间为1GB

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL