api/methods/legacy.go
Function Zipit
has 9 return statements (exceeds 4 allowed). Open
Open
func Zipit(source, target string) error {
zipfile, err := os.Create(target)
if err != nil {
return err
}
exported method Reader.OnError should have comment or be unexported Open
Open
func (r *Reader) OnError(b []byte) bool {
- Exclude checks
exported function GetApps should have comment or be unexported Open
Open
func GetApps() []types.App {
- Exclude checks
exported function GetPlugins should have comment or be unexported Open
Open
func GetPlugins() []string {
- Exclude checks
exported function AddConnection should have comment or be unexported Open
Open
func AddConnection(c *websocket.Conn) {
- Exclude checks
exported function GetLogs should have comment or be unexported Open
Open
func GetLogs(pkg string) []types.DebugObj {
- Exclude checks
comment on exported function Zipit should be of the form "Zipit ..." Open
Open
// http://blog.ralch.com/tutorial/golang-working-with-zip/
- Exclude checks
exported function FindinString should have comment or be unexported Open
Open
func FindinString(data string, match string) int {
- Exclude checks
exported function GenerateComposeFile should have comment or be unexported Open
Open
func GenerateComposeFile(r *http.Request) {
- Exclude checks
exported method Reader.OnTimeout should have comment or be unexported Open
Open
func (r *Reader) OnTimeout() {
- Exclude checks
exported function SaveKanBan should have comment or be unexported Open
Open
func SaveKanBan(pkg, raw string) {
- Exclude checks
exported function PushGit should have comment or be unexported Open
Open
func PushGit(pkg string) {
- Exclude checks
exported function Walk should have comment or be unexported Open
Open
func Walk() {
- Exclude checks
exported type Reader should have comment or be unexported Open
Open
type Reader struct {
- Exclude checks
exported function ProcessLog should have comment or be unexported Open
Open
func ProcessLog(pkg, buildLog string) types.DebugObj {
- Exclude checks
exported var DockerSmall should have comment or be unexported Open
Open
var DockerSmall = `FROM %s as builder
- Exclude checks
exported function GetKanBan should have comment or be unexported Open
Open
func GetKanBan(pkg string) (ret map[string]interface{}) {
- Exclude checks
exported function SaveApps should have comment or be unexported Open
Open
func SaveApps(app interface{}) {
- Exclude checks
exported function CommitGit should have comment or be unexported Open
Open
func CommitGit(pkg, message string) bool {
- Exclude checks
exported function Broadcast should have comment or be unexported Open
Open
func Broadcast(m []byte) {
- Exclude checks
exported var Addjsstr should have comment or be unexported Open
Open
var Addjsstr = ` <script type="text/javascript">
- Exclude checks
exported method Reader.OnData should have comment or be unexported Open
Open
func (r *Reader) OnData(b []byte) bool {
- Exclude checks
exported function ClearLogs should have comment or be unexported Open
Open
func ClearLogs(pkg string) {
- Exclude checks
exported function SavePlugins should have comment or be unexported Open
Open
func SavePlugins(plugins []string) {
- Exclude checks
exported function FindString should have comment or be unexported Open
Open
func FindString(fname string, match int) string {
- Exclude checks
exported var DockerLarge should have comment or be unexported Open
Open
var DockerLarge = `FROM %s
- Exclude checks
exported function FindLine should have comment or be unexported Open
Open
func FindLine(fname string, match string) int {
- Exclude checks
exported function AddtoLogs should have comment or be unexported Open
Open
func AddtoLogs(log types.DebugObj) {
- Exclude checks