Skip to content

tada-team/ref

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ref

Shortcuts for pass by reference

package main

import "github.com/tada-team/ref"

type MyStruct struct {
    X *string
}

func main()  {
    print(MyStruct{X: ref.String("yyy")})
}