Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Add support for sqlx - #8

Open
richo wants to merge 1 commit into
masterfrom
richo-sqlx
Open

Add support for sqlx#8
richo wants to merge 1 commit into
masterfrom
richo-sqlx

Conversation

@richo

@richo richo commented Jun 8, 2016

Copy link
Copy Markdown

r? @zenazn

Feel free to be brutal in code review, I have no idea what I'm doing.

This doesn't FP anything in sqlx, and does detect a bunch of sqli in the original project I was looking at (As well as some FPs)

@zenazn

zenazn commented Jun 8, 2016

Copy link
Copy Markdown
Contributor

...we really need automated tests :/

@richo

richo commented Jun 8, 2016

Copy link
Copy Markdown
Author

Yes.

I can write a few, although I know ~nothing about idiomatic testing in go

Comment thread safesql.go
DatabaseSql bool
}

const SQLX string = "github.com/jmoiron/sqlx"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You use this quite inconsistently

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh right, I think I missed a couple

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants