This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Scanner | |
import ( | |
"database/sql" | |
"reflect" | |
) | |
// Costume scanner type | |
type Scanner struct { | |
*sql.DB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package router | |
import ( | |
"github.com/julienschmidt/httprouter" | |
"net/http" | |
) | |
var h http.Handler | |
// SRouter is a http.Handler that wraps httprouter.Router with additional features. |