File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,13 @@ import (
3333//
3434// - *directory* contains the location where the tools are downloaded.
3535// - *indexURL* contains the url where the tools description is contained.
36- // - *logger* is a StdLogger used for reporting debug and info messages
3736// - *installed* contains a map[string]string of the tools installed and their exact location
3837//
3938// Usage:
4039// You have to call the New() function passing it the required parameters:
4140//
4241// index = index.Init("https://downloads.arduino.cc/packages/package_index.json", dataDir)
43- // tools := tools.New(dataDir, index, logger )
42+ // tools := tools.New(dataDir, index)
4443
4544// Tools will represent the installed tools
4645type Tools struct {
@@ -54,7 +53,6 @@ type Tools struct {
5453// New will return a Tool object, allowing the caller to execute operations on it.
5554// The New functions accept the directory to use to host the tools,
5655// an index (used to download the tools),
57- // and a logger to log the operations
5856func New (directory * paths.Path , index * index.Resource , signPubKey * rsa.PublicKey ) * Tools {
5957 t := & Tools {
6058 directory : directory ,
You can’t perform that action at this time.
0 commit comments