SYMBOL INDEX (151 symbols across 43 files) FILE: controllers/addresses.go function RegisterAddressesRoutes (line 14) | func RegisterAddressesRoutes(router *gin.RouterGroup) { function ListAddresses (line 24) | func ListAddresses(c *gin.Context) { function CreateAddress (line 47) | func CreateAddress(c *gin.Context) { FILE: controllers/categories.go function RegisterCategoryRoutes (line 18) | func RegisterCategoryRoutes(router *gin.RouterGroup) { function CategoryList (line 26) | func CategoryList(c *gin.Context) { function CreateCategory (line 35) | func CreateCategory(c *gin.Context) { FILE: controllers/comments.go function RegisterCommentRoutes (line 16) | func RegisterCommentRoutes(router *gin.RouterGroup) { function ListComments (line 30) | func ListComments(c *gin.Context) { function CreateComment (line 57) | func CreateComment(c *gin.Context) { function ShowComment (line 91) | func ShowComment(c *gin.Context) { function DeleteComment (line 101) | func DeleteComment(c *gin.Context) { FILE: controllers/orders.go function RegisterOrderRoutes (line 13) | func RegisterOrderRoutes(router *gin.RouterGroup) { function ListOrders (line 22) | func ListOrders(c *gin.Context) { function ShowOrder (line 41) | func ShowOrder(c *gin.Context) { function CreateOrder (line 58) | func CreateOrder(c *gin.Context) { FILE: controllers/pages.go function RegisterPageRoutes (line 11) | func RegisterPageRoutes(router *gin.RouterGroup) { function Home (line 17) | func Home(c *gin.Context) { FILE: controllers/products.go function RegisterProductRoutes (line 24) | func RegisterProductRoutes(router *gin.RouterGroup) { function ProductList (line 35) | func ProductList(c *gin.Context) { function GetProductDetailsBySlug (line 59) | func GetProductDetailsBySlug(c *gin.Context) { function CreateProduct (line 70) | func CreateProduct(c *gin.Context) { function ProductDelete (line 183) | func ProductDelete(c *gin.Context) { FILE: controllers/tags.go function RegisterTagRoutes (line 17) | func RegisterTagRoutes(router *gin.RouterGroup) { function TagList (line 25) | func TagList(c *gin.Context) { function randomString (line 36) | func randomString(length int) string { function CreateTag (line 44) | func CreateTag(c *gin.Context) { FILE: controllers/users.go function RegisterUserRoutes (line 15) | func RegisterUserRoutes(router *gin.RouterGroup) { function UsersRegistration (line 20) | func UsersRegistration(c *gin.Context) { function UsersLogin (line 44) | func UsersLogin(c *gin.Context) { FILE: dtos/addresses.go type CreateAddress (line 8) | type CreateAddress struct function CreateAddressPagedResponse (line 17) | func CreateAddressPagedResponse(request *http.Request, addresses []model... function GetAddressDto (line 25) | func GetAddressDto(address *models.Address, includeUser bool) map[string... function GetAddressCreatedDto (line 44) | func GetAddressCreatedDto(address *models.Address, includeUser bool) map... FILE: dtos/categories.go function CreateCategoryListMapDto (line 8) | func CreateCategoryListMapDto(categories []models.Category) map[string]i... function CreateCategoryListDto (line 18) | func CreateCategoryListDto(categories []models.Category) []interface{} { function CreateCategoryDto (line 26) | func CreateCategoryDto(category models.Category) map[string]interface{} { function CreateCategoryCreatedDto (line 40) | func CreateCategoryCreatedDto(category models.Category) map[string]inter... FILE: dtos/comments.go type CreateComment (line 9) | type CreateComment struct function CreateCommentPagedResponse (line 13) | func CreateCommentPagedResponse(request *http.Request, comments []models... function GetCommentDetailsDto (line 30) | func GetCommentDetailsDto(comment *models.Comment, includes ...bool) map... function GetSummary (line 42) | func GetSummary(comment *models.Comment, includeUser, includeProduct boo... function CreateCommentCreatedDto (line 65) | func CreateCommentCreatedDto(comment *models.Comment, includes ...bool) ... FILE: dtos/orders.go type CreateOrderRequestDto (line 8) | type CreateOrderRequestDto struct function CreateOrderPagedResponse (line 22) | func CreateOrderPagedResponse(request *http.Request, orders []models.Ord... function CreateOrderDto (line 33) | func CreateOrderDto(order *models.Order, includes ...bool) map[string]in... function CreateOrderDetailsDto (line 79) | func CreateOrderDetailsDto(order *models.Order) map[string]interface{} { function getIncludeFlags (line 86) | func getIncludeFlags(includes ...bool) (includeAddress, includeOrderItem... function CreateOrderCreatedDto (line 102) | func CreateOrderCreatedDto(order *models.Order) map[string]interface{} { FILE: dtos/pages.go function CreateHomeResponse (line 5) | func CreateHomeResponse(tags []models.Tag, categories []models.Category)... FILE: dtos/products.go type ManagedModel (line 10) | type ManagedModel type CreateProduct (line 12) | type CreateProduct struct function CreatedProductPagedResponse (line 19) | func CreatedProductPagedResponse(request *http.Request, products []model... function CreateProductDto (line 27) | func CreateProductDto(product *models.Product, commentCount int) map[str... function CreateProductDetailsDto (line 81) | func CreateProductDetailsDto(product models.Product) map[string]interfac... function CreateProductCreatedDto (line 92) | func CreateProductCreatedDto(product models.Product) map[string]interfac... FILE: dtos/shared.go type BaseDto (line 11) | type BaseDto struct type ErrorDto (line 16) | type ErrorDto struct function CreatePageMeta (line 21) | func CreatePageMeta(request *http.Request, loadedItemsCount, page, page_... function CreatePagedResponse (line 57) | func CreatePagedResponse(request *http.Request, resources []interface{},... function CreateDetailedErrorDto (line 64) | func CreateDetailedErrorDto(key string, err error) map[string]interface{} { function CreateErrorDtoWithMessage (line 72) | func CreateErrorDtoWithMessage(message string) map[string]interface{} { function CreateBadRequestErrorDto (line 81) | func CreateBadRequestErrorDto(err error) ErrorDto { function CreateSuccessDto (line 102) | func CreateSuccessDto(result map[string]interface{}) map[string]interfac... function CreateSuccessWithMessageDto (line 107) | func CreateSuccessWithMessageDto(message string) interface{} { function CreateSuccessWithMessagesDto (line 111) | func CreateSuccessWithMessagesDto(messages []string) interface{} { function CreateSuccessWithDtoAndMessagesDto (line 118) | func CreateSuccessWithDtoAndMessagesDto(data map[string]interface{}, mes... function CreateSuccessWithDtoAndMessageDto (line 123) | func CreateSuccessWithDtoAndMessageDto(data map[string]interface{}, mess... FILE: dtos/tags.go type CreateTag (line 8) | type CreateTag struct function CreateTagListMapDto (line 13) | func CreateTagListMapDto(tags []models.Tag) map[string]interface{} { function CreateTagListDto (line 23) | func CreateTagListDto(tags []models.Tag) []interface{} { function CreateTagDto (line 31) | func CreateTagDto(tag models.Tag) map[string]interface{} { function CreateTagCreatedDto (line 45) | func CreateTagCreatedDto(tag models.Tag) map[string]interface{} { FILE: dtos/users.go type RegisterRequestDto (line 7) | type RegisterRequestDto struct type LoginRequestDto (line 16) | type LoginRequestDto struct function CreateLoginSuccessful (line 24) | func CreateLoginSuccessful(user *models.User) map[string]interface{} { function GetUserBasicInfo (line 42) | func GetUserBasicInfo(user models.User) map[string]interface{} { FILE: infrastructure/db.go type Database (line 15) | type Database struct function OpenDbConnection (line 22) | func OpenDbConnection() *gorm.DB { function RemoveDb (line 51) | func RemoveDb(db *gorm.DB) error { function GetDb (line 58) | func GetDb() *gorm.DB { FILE: main.go function drop (line 17) | func drop(db *gorm.DB) { function migrate (line 28) | func migrate(database *gorm.DB) { function addDbConstraints (line 52) | func addDbConstraints(database *gorm.DB) { function create (line 89) | func create(database *gorm.DB) { function main (line 95) | func main() { FILE: middlewares/auth.go function EnforceAuthenticatedMiddleware (line 14) | func EnforceAuthenticatedMiddleware() gin.HandlerFunc { function UserLoaderMiddleware (line 27) | func UserLoaderMiddleware() gin.HandlerFunc { FILE: middlewares/benchmark.go function Benchmark (line 10) | func Benchmark() gin.HandlerFunc { FILE: middlewares/cors.go function Cors (line 7) | func Cors() gin.HandlerFunc { FILE: models/address.go type Address (line 5) | type Address struct FILE: models/category.go type Category (line 8) | type Category struct method BeforeSave (line 18) | func (a *Category) BeforeSave() (err error) { FILE: models/comment.go type Comment (line 7) | type Comment struct FILE: models/file_upload.go type FileUpload (line 5) | type FileUpload struct function TagImages (line 23) | func TagImages(db *gorm.DB) *gorm.DB { function CategoryImages (line 27) | func CategoryImages(db *gorm.DB) *gorm.DB { function ProductImages (line 31) | func ProductImages(db *gorm.DB) *gorm.DB { FILE: models/order.go type Order (line 5) | type Order struct method GetOrderStatusAsString (line 20) | func (order *Order) GetOrderStatusAsString() string { FILE: models/order_item.go type OrderItem (line 5) | type OrderItem struct FILE: models/product.go type Product (line 8) | type Product struct method BeforeSave (line 26) | func (product *Product) BeforeSave() (err error) { FILE: models/product_category.go type ProductCategory (line 3) | type ProductCategory struct method TableName (line 10) | func (*ProductCategory) TableName() string { FILE: models/product_tag.go type ProductTag (line 3) | type ProductTag struct method TableName (line 10) | func (*ProductTag) TableName() string { FILE: models/role.go type Role (line 5) | type Role struct type UserRole (line 13) | type UserRole struct method TableName (line 20) | func (UserRole) TableName() string { function Any (line 24) | func Any(roles []Role, f func(Role) bool) bool { FILE: models/tag.go type Tag (line 8) | type Tag struct method BeforeSave (line 18) | func (a *Tag) BeforeSave() (err error) { FILE: models/user.go type User (line 12) | type User struct method SetPassword (line 31) | func (u *User) SetPassword(password string) error { method IsValidPassword (line 44) | func (u *User) IsValidPassword(password string) error { method BeforeSave (line 50) | func (user *User) BeforeSave(db *gorm.DB) (err error) { method GenerateJwtToken (line 63) | func (user *User) GenerateJwtToken() string { method IsAdmin (line 83) | func (user *User) IsAdmin() bool { method IsNotAdmin (line 91) | func (user *User) IsNotAdmin() bool { FILE: seeds/seeder.go function randomInt (line 13) | func randomInt(min, max int) int { function randomString (line 20) | func randomString(length int) string { function seedAdmin (line 28) | func seedAdmin(db *gorm.DB) { function seedUsers (line 68) | func seedUsers(db *gorm.DB) { function seedTags (line 96) | func seedTags(db *gorm.DB) { function seedCategories (line 114) | func seedCategories(db *gorm.DB) { function seedProducts (line 131) | func seedProducts(db *gorm.DB) { function seedComments (line 168) | func seedComments(db *gorm.DB) { function seedAddresses (line 201) | func seedAddresses(db *gorm.DB) { function seedOrders (line 239) | func seedOrders(db *gorm.DB) { function Seed (line 277) | func Seed() { FILE: services/addresses.go function FetchAddressesPage (line 8) | func FetchAddressesPage(userId uint, page, pageSize int, includeUser boo... function FetchAddress (line 41) | func FetchAddress(addressId uint) (address models.Address) { function FetchIdsFromAddress (line 47) | func FetchIdsFromAddress(addressId uint) (address models.Address) { FILE: services/categories.go function FetchAllCategories (line 8) | func FetchAllCategories() ([]models.Category, error) { FILE: services/comments.go function FetchCommentsPage (line 8) | func FetchCommentsPage(productId, page int, page_size int) ([]models.Com... function FetchCommentById (line 44) | func FetchCommentById(id int, includes ...bool) models.Comment { function DeleteComment (line 67) | func DeleteComment(condition interface{}) error { FILE: services/orders.go function FetchOrdersPage (line 8) | func FetchOrdersPage(userId uint, page, pageSize int) (orders []models.O... function FetchOrderDetails (line 46) | func FetchOrderDetails(orderId uint) (order models.Order, err error) { FILE: services/products.go function FetchProductsPage (line 8) | func FetchProductsPage(page int, page_size int) ([]models.Product, int, ... function FetchProductDetails (line 27) | func FetchProductDetails(condition interface{}, optional ...bool) models... function FetchProductId (line 67) | func FetchProductId(slug string) (uint, error) { function SetTags (line 74) | func SetTags(product *models.Product, tags []string) error { function Update (line 89) | func Update(product *models.Product, data interface{}) error { function DeleteProduct (line 95) | func DeleteProduct(condition interface{}) error { function FetchProductsIdNameAndPrice (line 101) | func FetchProductsIdNameAndPrice(productIds []uint) (products []models.P... FILE: services/shared.go function CreateOne (line 7) | func CreateOne(data interface{}) error { function SaveOne (line 13) | func SaveOne(data interface{}) error { FILE: services/tags.go function FetchAllTags (line 8) | func FetchAllTags() ([]models.Tag, error) { FILE: services/users.go function FindOneUser (line 10) | func FindOneUser(condition interface{}) (models.User, error) { function UpdateUser (line 20) | func UpdateUser(user models.User, data interface{}) error {