Documentation ¶
Overview ¶
Package constants provides list of standard messages.
Index ¶
Constants ¶
View Source
const ( DbUser = "root" DbPassword = "local" DbHost = "localhost" DbPort = "27017" Database = "test" )
Database credentials
View Source
const ( MailUsername = "tgolang786@gmail.com" MailPassword = "thekalaamantra" MailServer = "smtp.gmail.com" MailPort = 587 )
Email Server Credentials
View Source
const ( NilTpl = "Template pointer is not initialised." NilMongoClient = "DB Client is not initialised." DatabaseNotConnected = "Unable to connect database." CollectionNotFound = "Collection not found." NilMongoHelper = "Mongo helper is not initialised." InvalidString = "Enter a string value." InvalidInteger = "Enter an integer value." InvalidName = "Name must be at least 5 characters." InvalidPassword = "Password must be at least 8 characters." InvalidEmail = "Invalid email address." )
Error messages
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.