Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Comment1 = model.Comment{ ID: 1, UserName: User1.Name, PostingID: Posting1.ID, Comment: "test comment", }
View Source
var Follow1 = model.Follow{ ID: 1, FollowingUserName: User1.Name, FollowedUserName: User2.Name, }
View Source
var Like1 = model.Like{ ID: 1, UserName: User1.Name, PostingID: Posting2.ID, }
View Source
var Posting1 = model.Posting{ ID: 1, UserName: User1.Name, Title: "This is a sample posting.", ImageURL: "http://localhost:9000/postings/20200101000000_testUser1", LikedCount: 0, }
View Source
var Posting2 = model.Posting{ ID: 2, UserName: User2.Name, Title: "test title", ImageURL: "test url", LikedCount: 0, }
View Source
var SecretKey = "test_secret_key"
View Source
var User1 = model.User{
Name: "testUser1",
Email: "testUser1@example.com",
Password: "Password1234",
ActivationKey: "b2add849-2c94-4a4f-a079-baf447536bc0",
PasswordResetKey: "fec668ed-f69e-45cd-87b9-a76f27759134",
}
View Source
var User2 = model.User{
Name: "testUser2",
Email: "testUser2@example.com",
Password: "Password5678",
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.