github.com/golang-infrastructure/go-reflect-utils@v0.0.0-20221130143747-965ef2eb09c3/test/foo.go (about)

     1  package test
     2  
     3  type Foo struct {
     4  	bar1 string
     5  	Bar2 string
     6  }
     7  
     8  func NewFoo(bar1, bar2 string) *Foo {
     9  	return &Foo{
    10  		bar1: bar1,
    11  		Bar2: bar2,
    12  	}
    13  }