Skip to content

Instantly share code, notes, and snippets.

View baturax's full-sized avatar
🤒
Out sick

Batu baturax

🤒
Out sick
View GitHub Profile
@baturax
baturax / go.json
Created June 13, 2026 18:58
zed snippets for golang
{
"Create function": {
"prefix": "func",
"body": ["func ${1}(${2}) (${3}) {\n\t${0}\n}"],
"description": "Creates a function"
},
"Create method": {
"prefix": "meth",
"body": ["func (${1}) ${2}(${3}) (${4}) {\n\t${0}\n}"],
"description": "Creates a method"
# yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json
version: "2"
formatters:
enable:
- goimports
- gofmt
- gofumpt
- gci
@baturax
baturax / biome.json
Last active June 24, 2026 17:16
biome.json with all options enabled
{
"$schema": "https://biomejs.dev/schemas/2.5.1/schema.json",
"assist": {
"actions": {
"source": {
"noDuplicateClasses": "on",
"organizeImports": "on",
"useSortedAttributes": "on",
"useSortedEnumMembers": "on",
"useSortedInterfaceMembers": "on",