Adding language hint for markdown examples.
This commit is contained in:
parent
395d932f93
commit
6ad513fa31
@ -7,7 +7,7 @@ Go library for generating and using One Time Passwords. Supports both HOTP ([RFC
|
|||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### OTP Server
|
### OTP Server
|
||||||
|
```go
|
||||||
import (
|
import (
|
||||||
"dev.justinjudd.org/justin/otp"
|
"dev.justinjudd.org/justin/otp"
|
||||||
)
|
)
|
||||||
@ -59,11 +59,11 @@ Go library for generating and using One Time Passwords. Supports both HOTP ([RFC
|
|||||||
|
|
||||||
return success, nil
|
return success, nil
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### OTP Client
|
### OTP Client
|
||||||
|
```go
|
||||||
import (
|
import (
|
||||||
"dev.justinjudd.org/justin/otp"
|
"dev.justinjudd.org/justin/otp"
|
||||||
)
|
)
|
||||||
@ -106,3 +106,4 @@ Go library for generating and using One Time Passwords. Supports both HOTP ([RFC
|
|||||||
|
|
||||||
return code, nil
|
return code, nil
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user