Skip to content

Commit 512c828

Browse files
committed
update doc
1 parent aac77f7 commit 512c828

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/tools.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
```go
1111
type Tools struct {
1212
Directory string
13-
IndexURL string
13+
IndexURL string
14+
LastRefresh time.Time
1415
Logger log.StdLogger
1516
}
1617
```
@@ -20,6 +21,7 @@ to download a tool from the arduino servers.
2021

2122
- *Directory* contains the location where the tools are downloaded.
2223
- *IndexURL* contains the url where the tools description is contained.
24+
- *LastRefresh* contains the last update time
2325
- *Logger* is a StdLogger used for reporting debug and info messages
2426
- *installed* contains a map of the tools and their exact location
2527

0 commit comments

Comments
 (0)