# README
mysequel
MySQL Database CRUD Helper for Go
# Functions
Insert prepares INSERT statement and executes it.
NewNullString fuctions returns a NULL if the passed string is empty.
QueryToStructs takes struct slice pointer, database instance, SQL query and placeholders and returns populates the slice with the result structs.
Update prepares UPDATE statement and executes it.
# Structs
FormTable holds data to be inserted.
Table holds data to be inserted.
UpdateTable holds data to be updated.
# Interfaces
InsertTable interface define table structure perform INSERT queries.
QueryRunner interface allows QueryToStructs to be passed in *sql.DB and *sql.Tx instances at the same time.
UdpateTable interface define table structure perform UPDATE queries.