defines

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Powershell = ShellType("PowerShell")
	Zsh        = ShellType("Zsh")
	Fish       = ShellType("Fish")
	Bash       = ShellType("Bash")
	Other      = ShellType("Other")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Key   string
	Value string
}

type ShellSnippet

type ShellSnippet struct {
	// Name of ShellSnippet
	Name string `gorm:"primaryKey"`

	// Raw Content of This ShellSnippet
	Content string

	// Enable this shell snippet if registry sss into .bashrc like rc files.
	IsEnable bool
}

One ShellSnippet struct

func (ShellSnippet) MaskedContent

func (s ShellSnippet) MaskedContent() string

func (ShellSnippet) UniqName

func (s ShellSnippet) UniqName() string

type ShellType

type ShellType string

Jump to

Keyboard shortcuts

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