web

package
v0.0.0-...-22f12f9 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: GPL-3.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLocalDB

func InitLocalDB()

func StartUI

func StartUI()

Types

type AppPage

type AppPage struct {
	ApplicationName string         `json:"app_name"`
	LinesInApp      int            `json:"loc_app"`
	PackagesCount   int            `json:"count_child_packages"`
	UniqueImports   []string       `json:"unique_imports"`
	ImportCount     map[string]int `json:"import_counts"`
	AppPackages     []AppPagePkg   `json:"packages"`
}

type AppPagePkg

type AppPagePkg struct {
	Name               string `json:"name"`
	FolderLocation     string `json:"folder_location"`
	LinesInPkg         int    `json:"loc_package"`
	CountChildFiles    int    `json:"count_child_files"`
	CountInterfaces    int    `json:"count_interfaces"`
	CountChildStructs  int    `json:"count_structs"`
	CountChildFuncs    int    `json:"count_funcs"`
	CountChildMethods  int    `json:"count_methods"`
	CountUniqueImports int    `json:"count_imports"`
	ChildFiles         []File `json:"child_files"`
	// contains filtered or unexported fields
}

type File

type File struct {
	FileName       string   `json:"file_name"`
	ActionTags     []string `json:"file_action_tags"`
	Loc            int      `json:"loc"`
	ImportCount    int      `json:"import_count"`
	FuncCount      int      `json:"func_count"`
	StructsCount   int      `json:"structs_count"`
	InterfaceCount int      `json:"interfaces_count"`
	MethodsCount   int      `json:"methods_count"`

	Structs []string `json:"structs"`
	Imports []string `json:"imports"`

	Funcs   map[string]int `json:"funcs"`
	Methods map[string]int `json:"methods"`
}

type FileSize

type FileSize struct {
	FileName string `json:"name"`
	Size     int    `json:"size"`
}

type JsonOut

type JsonOut struct {
	PkgName    string     `json:"name"`
	DataPoints []FileSize `json:"children"`
}

Jump to

Keyboard shortcuts

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