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
|
||||
|
||||
### OTP Server
|
||||
|
||||
```go
|
||||
import (
|
||||
"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
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
|
||||
### OTP Client
|
||||
|
||||
```go
|
||||
import (
|
||||
"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
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user