This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.1.0", | |
"$schema": "https://json.schemastore.org/sarif-2.1.0-rtm.5.json", | |
"runs": [ | |
{ | |
"tool": { | |
"driver": { | |
"fullName": "Trivy Vulnerability Scanner", | |
"informationUri": "https://github.com/aquasecurity/trivy", | |
"name": "Trivy", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math" | |
) | |
type Circle struct { | |
r float64 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math" | |
) | |
type Circle struct { | |
r float64 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
type Integer int | |
func (i Integer) add(j Integer) Integer { | |
return i + j | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math" | |
) | |
type Circle struct { | |
r float64 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Person struct { | |
firstName string | |
lastName string | |
phoneNumbers []string | |
} | |
var firstName string | |
var lastName string | |
var phone Nargs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright © 2023 NAME HERE <EMAIL ADDRESS> | |
*/ | |
package cmd | |
import ( | |
"fmt" | |
"github.com/spf13/cobra" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright © 2023 NAME HERE <EMAIL ADDRESS> | |
*/ | |
package cmd | |
import ( | |
"fmt" | |
"github.com/spf13/cobra" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
personctl add --pid=1 --first-name=david --last-name=joseph |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright © 2023 NAME HERE <EMAIL ADDRESS> | |
*/ | |
package cmd | |
import ( | |
"fmt" | |
"strings" |