File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -15,28 +15,28 @@ import (
15
15
// main is the entry point of the application. It initializes the extractor,
16
16
// fetches repository metrics from GitHub, and displays the results.
17
17
func main () {
18
- // Load configuration
18
+ // Load configuration.
19
19
cfg := config.Config {}
20
20
21
- // Create a new extractor instance
21
+ // Create a new extractor instance.
22
22
ex := extractor .New ()
23
-
24
- // Configure extraction parameters for the graphql-go/graphql repository
23
+
24
+ // Configure extraction parameters for the graphql-go/graphql repository.
25
25
params := extractor.RunParams {
26
26
HTTPClient : & http.Client {},
27
27
Organization : "graphql-go" ,
28
28
RepositoryName : "graphql" ,
29
29
}
30
-
31
- // Run the extractor to fetch repository metrics
30
+
31
+ // Run the extractor to fetch repository metrics.
32
32
r , err := ex .Run (& params )
33
33
if err != nil {
34
34
log .Fatal (err )
35
35
}
36
36
37
- // Display debug information if enabled
37
+ // Display debug information if enabled.
38
38
fmt .Println (cfg .IsDebug )
39
-
40
- // Display the extraction results
39
+
40
+ // Display the extraction results.
41
41
fmt .Printf ("%+v\n " , r )
42
42
}
You can’t perform that action at this time.
0 commit comments