Skip to content

WenxingLai/goescapemysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goescapemysql

Package goescapemysql provides a go function that escape a string as mysql-server does.

This function escapes strings by adding backslashes before special characters, such as making the null byte \0 and the newline byte \n. The implementation also converts % to \% and _ to \_, respectively.

Acknowledgement

Package goescapemysql is for personal use only and does not guarantee anything.

License

See WTFPL.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages