Skip to content

Commit 1ae9c5d

Browse files
authored
Merge branch 'main' into atomic-counters
2 parents 60211a5 + 8e1652c commit 1ae9c5d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package structs
2+
3+
type Person struct {
4+
Name string
5+
Age int
6+
}
7+
8+
func NewPerson(name string, age int) Person {
9+
return Person{Name: name, Age: age}
10+
}

0 commit comments

Comments
 (0)