Documentation
ΒΆ
Index ΒΆ
Constants ΒΆ
View Source
const BRANCH string = "π²"
View Source
const GITMOJI string = "2. Select a gitmoji"
View Source
const LONG_DESC string = "4. Write a Longer Description"
View Source
const MAIN_DESC string = "3. Write a Short Description"
View Source
const REMOTE string = "πΎ"
View Source
const REPO string = "π¦"
View Source
const TITLE string = "CONVENTIONAL COMMITS CLI"
String constants
View Source
const TITLE_Y int = 2
View Source
const TYPE string = "1. Select the type of change"
View Source
const VERSION string = "v0.1.0 - Riccardo La Marca"
Variables ΒΆ
View Source
var CHANGE_TYPE = map[string]string{
"FEAT": "Adds or remove new feature",
"FIX": "Fixes a bug",
"REFACTOR": "Restructure the code",
"PERF": "Improve Performance",
"STYLE": "White-space, formatting, etc.",
"TEST": "Add missing tests or correcting",
"DOCS": "Affect documentation only",
"BUILD": "Affect build components",
"OPS": "Affect operational components",
"CHORE": "Miscellaneous commits",
}
View Source
var DIRECTIONS map[tcell.Key]int = map[tcell.Key]int{
tcell.KeyLeft: -1,
tcell.KeyRight: 1,
}
View Source
var GITMOJI_ARRAY = map[string]string{
"β¨": ":sparkles: Introduce new features",
"π¨": ":art: Improve structure of the code",
"β‘οΈ": ":zap: Improve performance",
"π₯": ":fire: Remove code or files",
"π": ":bug: Fix a bug",
"ποΈ": ":ambulance: Critical hotfix",
"π": ":memo: Add or update documentation",
"π": ":rocket: Deply stuff",
"π": ":tada: Begin a project",
"β
": ":white_check_mark: Add, update, or pass tests",
"ποΈ": ":lock: Fix security or privacy issue",
"π": ":closed_lock_with_key: Add or update secrets",
"π": ":bookmark: Release/Versions tags",
"π¨": ":rotating_light: Fix compiler/linter warnings",
"π§": ":construction: Work in progress",
"π": ":green_heart: Fix CI Build",
"β¬οΈ": ":arrow_down: Downgrade dependencies",
"β¬οΈ": ":arrow_up: Upgrade dependencies",
"π": ":pushpin: Pin dependencies to specific version",
"π·": ":construction_worker: Add or update CI system",
"β»οΈ": ":recycle: Refactor code",
"β": ":heavy_plus_sign: Add a dependency",
"β": ":heavy_minus_sign: Remove a dependency",
"π§": ":wrench: Add or update configuration files",
"π¨": ":hammer: Add or update development scripts",
"βοΈ": ":pencil2: Fix typos",
"π©": ":poop: Write bad code that needs to be improved",
"βͺοΈ": ":rewind: Revert changes",
"π": ":twisted_rightwards_arrows: Merge branches",
"π¦οΈ": ":package: Add or update compiled packages",
"π½οΈ": ":alien: Update code due to external API changes",
"π": ":truck: Move or renamed resources (paths, ...)",
"π₯": ":boom: Introduce breaking changes",
"π±": ":bento: Add or update assets",
"π": ":loud_sound: Add or update logs",
"π": ":mute: Remove logs",
"ποΈ": ":building_construction: Make architectural changes",
"π€‘": ":clown_face: Mock things",
"π": ":see_no_evil: Add or update a .gitignore file",
"β°οΈ": ":coffin: Remove dead code",
"π§ͺ": ":test_tube: Add a failing test",
"π§±": ":bricks: Infrastructure releated changes",
"π¦Ί": ":safety_vest: Add or update code for validation",
}
Functions ΒΆ
This section is empty.
Types ΒΆ
type CCommitWindow ΒΆ
type CCommitWindow struct {
// contains filtered or unexported fields
}
func CCommitWindow_new ΒΆ
func CCommitWindow_new(gitinfo *util.GitInfo) *CCommitWindow
func (*CCommitWindow) Display ΒΆ
func (win *CCommitWindow) Display()
func (*CCommitWindow) Run ΒΆ
func (win *CCommitWindow) Run() string
Click to show internal directories.
Click to hide internal directories.