Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLogsDirectory ¶
func CheckLogsDirectory()
CheckLogsDirectory will check if 'logs' directory exist, if you don't, it will crete the directory
func WriteLogs ¶
WriteLogs is a function that writes any log to the application file. All you have to do is to fill in the code, which corresponds to ctx.StatusCode(XXX), and the content, in string format, which corresponds to the text added to the inserted log line. The format of the logs used is the following: date format: dd/mm/yyyy INFO/WARN/ERR/DBUG 02/01/2006 15:04:05 Content for log
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.