File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,13 @@ import (
33
33
//
34
34
// - *directory* contains the location where the tools are downloaded.
35
35
// - *indexURL* contains the url where the tools description is contained.
36
- // - *logger* is a StdLogger used for reporting debug and info messages
37
36
// - *installed* contains a map[string]string of the tools installed and their exact location
38
37
//
39
38
// Usage:
40
39
// You have to call the New() function passing it the required parameters:
41
40
//
42
41
// 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)
44
43
45
44
// Tools will represent the installed tools
46
45
type Tools struct {
@@ -54,7 +53,6 @@ type Tools struct {
54
53
// New will return a Tool object, allowing the caller to execute operations on it.
55
54
// The New functions accept the directory to use to host the tools,
56
55
// an index (used to download the tools),
57
- // and a logger to log the operations
58
56
func New (directory * paths.Path , index * index.Resource , signPubKey * rsa.PublicKey ) * Tools {
59
57
t := & Tools {
60
58
directory : directory ,
You can’t perform that action at this time.
0 commit comments