main is the entry point for the application.
()
| 10 | |
| 11 | // main is the entry point for the application. |
| 12 | func main() { |
| 13 | // Create a value of type User from the entities package. |
| 14 | u := entities.User{ |
| 15 | Name: "Bill", |
| 16 | email: "bill@email.com", |
| 17 | } |
| 18 | |
| 19 | // ./example71.go:16: unknown entities.User field 'email' in |
| 20 | // struct literal |
| 21 | |
| 22 | fmt.Printf("User: %v\n", u) |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected