initial import

This commit is contained in:
SourceFellows
2020-08-21 06:26:40 +02:00
commit e223458dd4
423 changed files with 9871 additions and 0 deletions

View File

@ -0,0 +1,24 @@
package postgres
import (
"fmt"
"golang.source-fellows.com/samples/applicationx"
)
var _ applicationx.UserService = &UserService{}
type UserService struct{}
func (us *UserService) CreateUser(user *applicationx.User) error {
fmt.Println("Create User in Postgres Service")
return nil
}
func (us *UserService) DeleteUser(id int) error {
return nil
}
func (us *UserService) ReadUser(id int) (*applicationx.User, error) {
return nil, nil
}