Categorygithub.com/pschlump/ms
modulepackage
1.0.9
Repository: https://github.com/pschlump/ms.git
Documentation: pkg.go.dev

# README

ms

license

Common code for RESTful server set.

# Functions

AppendInt appends the string form of the integer i, as generated by FormatInt, to dst and returns the extended buffer.
AppendUint appends the string form of the unsigned integer i, as generated by FormatUint, to dst and returns the extended buffer.
Center the string 's' in the width 'n'.
ChopAt cuts the string 's' at the first ocurance of string 'c'.
No description provided by the author
===================================================================================================================================================.
===================================================================================================================================================.
No description provided by the author
Implement Dijkstra's L algorythm on an array of strings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FormatInt returns the string representation of i in the given base, for 2 <= base <= 36.
FormatUint returns the string representation of i in the given base, for 2 <= base <= 36.
No description provided by the author
HomeDir returns the home directory of the current user.
=================================================================================================================================================== New Mon Feb 23 16:37:31 MST 2015 =================================================================================================================================================== {{ifDef .
No description provided by the author
No description provided by the author
No description provided by the author
Keep the data that has common keys between 'a' and 'b', prefering data from 'b' not used at the moment.
No description provided by the author
Itoa is shorthand for FormatInt(i, 10).
Copy 'a', if same key in 'b', then copy data from b, prefering data from 'b'.
LowerCaseNames convers the keys on a map of strings to lower case.
No description provided by the author
No description provided by the author
No description provided by the author
PadStr pads a string with 'w' to a length of 'l' - pad on left.
PadStrRight pads a string with 'w' to a length of 'l' - pad on right.
No description provided by the author
No description provided by the author
No description provided by the author
idiotic format for dates ( just use ISO format YYYY-MM-DDTHH:mm:ss.nnn! ) <field member="Arrival" columns="40">Arrived : {0:hh:mm tt ddd, MMM dd, yyyy}</field> hh - 2digit hours mm - 2digit minutes tt - lower case am/pm ddd - day of week MMM - 3 char month name abrev.
No description provided by the author
No description provided by the author
No description provided by the author
===================================================================================================================================================.
ZeroPad left pad a string with "0" to the desired length 'l'.
ZeroPadRight pad on right a string with "0" to desired length 'l'.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author