Discover Packages
github.com/golang/build
devapp
owners
package
Version:
v0.0.0-...-a697e2c
Opens a new window with list of versions in this module.
Published: Aug 1, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Handler takes one or more paths and returns a map of each to a matching
Entry struct. If no Entry is matched for the path, the value for the key
is nil.
type Entry struct {
Primary []Owner `json:"primary"`
Secondary []Owner `json:"secondary,omitempty"`
}
type Owner struct {
GitHubUsername string `json:"githubUsername"`
GerritEmail string `json:"gerritEmail"`
}
type Request struct {
Payload struct {
Paths []string `json:"paths"`
} `json:"payload"`
Version int `json:"v"`
}
type Response struct {
Payload struct {
Entries map[string ]*Entry `json:"entries"`
} `json:"payload"`
Error string `json:"error,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.