Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
dieselburner committed Feb 28, 2022
1 parent 092b86c commit daf310a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ This package adds support for loading templates from [Google Cloud Storage](http
import "github.com/dieselburner/pongo2gcloud"
```

## Variables

Set `ProjectID` to your Google Cloud Project ID. If not set, `pongo2gcloud` will autodetect it when running on Google Cloud Engine, otherwise will panic.

## Example

[Gin](https://github.com/gin-gonic/gin) example, through [modified pongo2gin middleware](https://github.com/dieselburner/pongo2gin):

Set `ProjectID` to your Google Cloud Project ID. If not set, `pongo2gcloud` will autodetect it when running on Google Cloud Engine, otherwise will panic.

```go
import (
...
Expand Down

0 comments on commit daf310a

Please sign in to comment.