|
|
|
@ -6,7 +6,7 @@ authenticate and authorize users.
|
|
|
|
|
The code in this repository is licensed under the terms of the Apache License
|
|
|
|
|
Version 2.0.
|
|
|
|
|
|
|
|
|
|
Copyright © 2020, 2021 Jan Dittberner
|
|
|
|
|
Copyright © 2020-2022 Jan Dittberner
|
|
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
|
@ -68,6 +68,7 @@ enc-key = "<32 bytes of base64 encoded data>"
|
|
|
|
|
Now you can start the demo application:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
make
|
|
|
|
|
go run cmd/app.go
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@ -82,7 +83,7 @@ internationalization (i18n) support.
|
|
|
|
|
The translation workflow needs the `go18n` binary which can be installed via
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
go get -u github.com/nicksnyder/go-i18n/v2/goi18n
|
|
|
|
|
go install github.com/nicksnyder/go-i18n/v2/goi18n
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
To extract new messages from the code run
|
|
|
|
|