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

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

  •  
  •   yakczh · Jan 2, 2013 · 2377 views
    This topic created in 5052 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   ·   5328 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 06:15 · PVG 14:15 · LAX 22:15 · JFK 01:15
    ♥ Do have faith in what you're doing.