Skip to content

Commit a50aa86

Browse files
committed
refactor: remove logger from comment
1 parent 0370591 commit a50aa86

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/tools.go

+1-3
Original file line numberDiff line numberDiff 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
4645
type 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
5856
func New(directory *paths.Path, index *index.Resource, signPubKey *rsa.PublicKey) *Tools {
5957
t := &Tools{
6058
directory: directory,

0 commit comments

Comments
 (0)