# Golang for Experience Developer ```go class struct func substring(strin string, start int, end int) string { ... } type NameOfClass struct { ...prop } // attached func ( nameOfClass *NameOfClass ) FuncName(args) returnType { nameOfClass .prop ... } // format, alias // type NewType ExistingType -- I can create new type type AlimsNewType otherpackage.NameOfClass func (alimsNewType *AlimsNewType) myNewFunc (strIn string) string { return alimsNewType.Prop + strIn } // format func ( **attacher ) FuncName(args) returnType { } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up