Skip to content

Commit 1c662a0

Browse files
committed
fmt
1 parent 7a44f56 commit 1c662a0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

certscan.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ type DomainNode struct {
8989
Fingerprint fingerprint
9090
Neighbors []string
9191
Status domainStatus
92-
Root bool
92+
Root bool
9393
}
9494

9595
// constructor for DomainNode, converts domain to directDomain
@@ -211,8 +211,8 @@ func printJSONGraph() {
211211
// TODO remove the need for all these temp vars
212212
//domains := make(map[string]map[string]string)
213213
certs := make(map[string]bool)
214-
nodes := make([]map[string]string, 0, 2 * len(domainGraph))
215-
links := make([]map[string]string, 0, 2 * len(domainGraph))
214+
nodes := make([]map[string]string, 0, 2*len(domainGraph))
215+
links := make([]map[string]string, 0, 2*len(domainGraph))
216216

217217
for domain := range domainGraph {
218218
fp := domainGraph[domain].Fingerprint.Hex()
@@ -222,7 +222,7 @@ func printJSONGraph() {
222222
dnode["type"] = "domain"
223223
dnode["id"] = domain
224224
dnode["status"] = domainGraph[domain].Status.String()
225-
dnode["root"] = strconv.FormatBool(domainGraph[domain].Root);
225+
dnode["root"] = strconv.FormatBool(domainGraph[domain].Root)
226226
nodes = append(nodes, dnode)
227227

228228
// add domain -> cert

0 commit comments

Comments
 (0)