genericosv

package
v0.0.0-...-8a00423 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: BSD-3-Clause, CC-BY-4.0 Imports: 10 Imported by: 0

Documentation

Overview

Copyright 2023 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Package genericosv provides utilities for working with generic OSV structs (not specialized for Go).

Index

Constants

This section is empty.

Variables

View Source
var EcosystemGo = models.EcosystemGo

Functions

func NewFetcher

func NewFetcher() report.Fetcher

Types

type Entry

type Entry models.Vulnerability

Entry is a a generic OSV entry, not specialized for Go.

func (*Entry) SourceID

func (osv *Entry) SourceID() string

func (*Entry) ToReport

func (osv *Entry) ToReport(string) *report.Report

ToReport converts OSV into a Go Report with the given ID.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL