{"modulePath":"github.com/Nihanth-Reddy/ServerlessGoCRUD","version":"v0.0.0-20210628202019-768748e7167d","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Constants\n\n```go\nconst TableName = \"GolangUsers\"\n```\n\n## Functions\n\n```go\nfunc CreateUser(req events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)\n```\n\n```go\nfunc DeleteUser(req events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)\n```\n\n```go\nfunc FetchUser(req events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)\n```\n\n```go\nfunc RandomEmail() string\n```\nRandomEmail generates a random email\n\n```go\nfunc RandomInt(min, max int64) int64\n```\nRandomInt generates a random integer between min and max\n\n```go\nfunc RandomString(n int) string\n```\nRandomString generates a random string of length n\n\n```go\nfunc UpdateUser(req events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)\n```\n\n## Types\n\n```go\ntype CreateUserResponse struct {\n\tUserId string `json:\"user_id\"`\n}\n```\n\n```go\ntype Deps struct {\n\tFu helperFunc\n\tCu helperFunc\n\tUu helperFunc\n\tDu helperFunc\n}\n```\n\n```go\ntype Person struct {\n\tUserId    string   `json:\"user_id\"`\n\tFirstName string   `json:\"first_name\"`\n\tLastName  string   `json:\"last_name\"`\n\tEmail     string   `json:\"email\"`\n\tAge       int      `json:\"age\"`\n\tCourses   []string `json:\"courses\"`\n}\n```\n\n","path":"github.com/Nihanth-Reddy/ServerlessGoCRUD/users","name":"main","synopsis":"","isRedistributable":true}
