crosspackage

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserModel

type UserModel struct {
	ID          bson.ObjectID `bson:"_id,omitempty" json:"id"`
	Username    string        `bson:"username" json:"username"`
	DisplayName string        `bson:"display_name" json:"displayName"`
	City        string        `bson:"city" json:"city"`
}

UserModel is a model of user that is stored in the database

Directories

Path Synopsis
Code generated by repogen.
Code generated by repogen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL