Home > Blockchain >  Double arguments in Go and some record injection?
Double arguments in Go and some record injection?

Time:05-02

In this line, https://github.com/status-im/status-go/blob/develop/protocol/ens/verifier.go#L119 We have (v *Verifier) that is I guess some kind of injection? and then publish(records []*VerificationRecord) { that is I guess this function's name and real arguments?

CodePudding user response:

As superhawk610 points out what you see is a method publish here applied to an object of type Verifier.

  •  Tags:  
  • go
  • Related