create tests directory format
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package main
|
||||
|
||||
type User struct {
|
||||
Username string
|
||||
}
|
||||
|
||||
func NewUser(username string) (error, User) {
|
||||
return nil, User{
|
||||
Username: username,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user