Discover Packages
github.com/coreywang/functions
examples
blog
models
package
Version:
v0.0.0-...-32278fe
Opens a new window with list of versions in this module.
Published: Apr 12, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func UserPasswordEncrypt(pass []byte ) []byte
type Post struct {
ID bson .ObjectId `json:"id" bson:"_id,omitempty"`
Title string `json:"title" bson:"title"`
Body string `json:"body" bson:"body"`
User string `json:"user" bsom:"user"`
}
type User struct {
Username string `json:"username" bson:"_id,omitempty"`
Password []byte `json:"-" bson:"password"`
NewPassword string `json:"password" bson:"-"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.