зеркало из https://github.com/mozilla/scribe.git
gofmt some missed files
This commit is contained in:
Родитель
c327638a67
Коммит
bba2ac14e0
|
@ -9,8 +9,8 @@ package main
|
|||
import (
|
||||
"bufio"
|
||||
"fmt"
|
||||
"os"
|
||||
"github.com/mozilla/scribe"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
|
16
pkgmgr.go
16
pkgmgr.go
|
@ -21,18 +21,18 @@ type pkgmgrResult struct {
|
|||
}
|
||||
|
||||
type pkgmgrInfo struct {
|
||||
name string
|
||||
version string
|
||||
pkgtype string
|
||||
arch string
|
||||
name string
|
||||
version string
|
||||
pkgtype string
|
||||
arch string
|
||||
}
|
||||
|
||||
// Package information from the system as returned by QueryPackages().
|
||||
type PackageInfo struct {
|
||||
Name string `json:"name" yaml:"name"` // Package name.
|
||||
Version string `json:"version" yaml:"version"` // Package version.
|
||||
Type string `json:"type" yaml:"type"` // Package type.
|
||||
Arch string `json:"arch" yaml:"arch"` // Package architecture
|
||||
Name string `json:"name" yaml:"name"` // Package name.
|
||||
Version string `json:"version" yaml:"version"` // Package version.
|
||||
Type string `json:"type" yaml:"type"` // Package type.
|
||||
Arch string `json:"arch" yaml:"arch"` // Package architecture
|
||||
}
|
||||
|
||||
// Query packages on the system, returning a slice of all identified packages
|
||||
|
|
|
@ -9,8 +9,8 @@ package main
|
|||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"os"
|
||||
"github.com/mozilla/scribe"
|
||||
"os"
|
||||
)
|
||||
|
||||
var flagDebug bool
|
||||
|
|
Загрузка…
Ссылка в новой задаче