commit
6d4aa27983
@ -438,7 +438,7 @@ func main() {
|
|||||||
|
|
||||||
#### Using BasicAuth() middleware
|
#### Using BasicAuth() middleware
|
||||||
```go
|
```go
|
||||||
// similate some private data
|
// simulate some private data
|
||||||
var secrets = gin.H{
|
var secrets = gin.H{
|
||||||
"foo": gin.H{"email": "foo@bar.com", "phone": "123433"},
|
"foo": gin.H{"email": "foo@bar.com", "phone": "123433"},
|
||||||
"austin": gin.H{"email": "austin@example.com", "phone": "666"},
|
"austin": gin.H{"email": "austin@example.com", "phone": "666"},
|
||||||
|
Loading…
Reference in New Issue
Block a user