The Go Programming Language
› http://golang.org/
› Go Playground
Go Projects
› Revel Web Framework
yakczh

感觉go的func与js的call,apply有一拼

  •  
  •   yakczh · Jan 2, 2013 · 2430 views
    This topic created in 5082 days ago, the information mentioned may be changed or developed.
    "A method is a function with an implicit first argument, called a receiver."

    method的语法如下:
    func (r ReceiverType) funcName(parameters) (results)
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1445 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 16:47 · PVG 00:47 · LAX 08:47 · JFK 11:47
    ♥ Do have faith in what you're doing.