Skip to content

Commit e135d77

Browse files
committed
fix readme
1 parent d4adbbb commit e135d77

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,14 @@ func main() {
5050
h := clients.NewNOAAHelper(session.NOAA(), session.ConfigStore())
5151
msgs, err := h.RecentLogs("app-guid", 0) // 0 means no limit of messages to see
5252
if err != nil {
53-
panic(err)
54-
}
53+
panic(err)
54+
}
5555
fmt.Println(msgs)
5656

5757
// Get an http client which pass authorization header to call api(s) directly
5858
session.Raw()
5959

6060
// Get config store for client which need, for example, current access token (e.g.: NOAA)
6161
session.ConfigStore()
62-
63-
6462
}
6563
```

0 commit comments

Comments
 (0)