🎉 Commit of go-promises

This commit is contained in:
Dan Jones 2024-12-27 15:19:49 -06:00
commit 5d84d26c3a
Signed by: dan
GPG key ID: 5B3B0F7217473A29
13 changed files with 238 additions and 0 deletions

10
internal/struct.go Normal file
View file

@ -0,0 +1,10 @@
package internal
type User struct {
Name string `json:"name"`
Age int `json:"age"`
}
func GetUser(name string, age int) User {
return User{name, age}
}