# Functions
Function mostly from https://coderedirect.com/questions/432349/golang-dynamic-access-to-a-struct-property A function that splits a string based on a delimiter and assigns it to a slice in a struct's field Ex: a struct 's' with field 'MyArr', and string "val1::val2::val3" This function will assign ["val1", "val2", "val3"] into s.MyArr.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Generally this function isn't necessary because we use prepared statements, but more safety is good.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author