* add a github actions config * fix(log): Don't create a log dir when testing * remove a meaningless test case * Thanks for everything, Mr, Travys. * add golangci * add goreleaser.yml * add tidy.yml * add golang-ci * fix many lint warnings
		
			
				
	
	
		
			23 lines
		
	
	
		
			456 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			456 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package gost
 | 
						|
 | 
						|
import (
 | 
						|
	"strings"
 | 
						|
 | 
						|
	"github.com/future-architect/vuls/models"
 | 
						|
	"github.com/knqyf263/gost/db"
 | 
						|
)
 | 
						|
 | 
						|
// Pseudo is Gost client except for RedHat family and Debian
 | 
						|
type Pseudo struct {
 | 
						|
	Base
 | 
						|
}
 | 
						|
 | 
						|
// DetectUnfixed fills cve information that has in Gost
 | 
						|
func (pse Pseudo) DetectUnfixed(driver db.DB, r *models.ScanResult, _ bool) (int, error) {
 | 
						|
	return 0, nil
 | 
						|
}
 | 
						|
 | 
						|
func major(osVer string) (majorVersion string) {
 | 
						|
	return strings.Split(osVer, ".")[0]
 | 
						|
}
 |