SkillAgentSearch skills...

Gotimeformat

Generate golang time layout

Install / Use

/learn @v4run/Gotimeformat
About this skill

Quality Score

0/100

Supported Platforms

GitHub Copilot

README

gotimeformat

gotimeformat is a plugin for Visual Studio Code to generate go time layout from a simple easy to remember format.

Demo

demo

Layout

timeformat|default ----|---- YYYY|2006 YY|06 MMMM|January MMM|Jan MM|01 M|1 DD|02 D|2 hh|03 HH|15 h|3 wwww|Monday www|Mon mm|04 m|4 ss|05 s|5 f|0 (.fff = .000) F|9 (.FFF = .999) a|pm A|PM z|MST -Z:Z:Z|-07:00:00 Z:Z:Z|Z07:00:00 -Z:Z|-07:00 Z:Z|Z07:00 -ZZZ|-070000 ZZZ|Z070000 -ZZ|-0700 ZZ|Z0700 -Z|-07 Z|Z07

Adding custom shortcuts

Add this to your keybinding.json file.

{
    "key": "ctrl+k ctrl+d",
    "mac": "cmd+k cmd+d",
    "command": "generategotimelayout",
    "when": "editorTextFocus"
}

Source

Github

Marketplace

gotimeformat

Release Notes

1.0.0

Initial release of gotimeformat

1.0.1

Fix for Bug 1 Extension now works for multiple selections.

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated2y ago
Forks0

Languages

TypeScript

Security Score

75/100

Audited on Dec 4, 2023

No findings