Changes
5 changed files (+116/-0)
-
.editorconfig (new)
-
@@ -0,0 +1,24 @@# Copyright 2025 Shota FUJI # # This source code is licensed under Zero-Clause BSD License. # You can find a copy of the Zero-Clause BSD License at LICENSES/0BSD.txt # You may also obtain a copy of the Zero-Clause BSD License at # <https://opensource.org/license/0bsd> # # SPDX-License-Identifier: 0BSD root = true [*] indent_style = tab end_of_line = lf charset = utf-8 spelling_language = en-US trim_trailing_whitespace = true insert_final_newline = true # Buf CLI insists on two spaces indentation # <https://protobuf.dev/programming-guides/style/> [*.proto] indent_style = space indent_size = 2
-
-
.tool-versions (new)
-
@@ -0,0 +1,20 @@# Copyright 2025 Shota FUJI # # This source code is licensed under Zero-Clause BSD License. # You can find a copy of the Zero-Clause BSD License at LICENSES/0BSD.txt # You may also obtain a copy of the Zero-Clause BSD License at # <https://opensource.org/license/0bsd> # # SPDX-License-Identifier: 0BSD # # === # # This file lists required tools and versions for development of this project. # Compatible version managers such as asdf-vm <https://asdf-vm.com/> and # mise-en-place <https://mise.jdx.dev/> loads this file and can install, # configure, and activate the toolings easily. buf 1.51.0 dprint 0.49.1 go 1.24.1 protoc-gen-go 1.36.5
-
-
dprint.jsonc (new)
-
@@ -0,0 +1,35 @@// Copyright 2025 Shota FUJI // // This source code is licensed under Zero-Clause BSD License. // You can find a copy of the Zero-Clause BSD License at LICENSES/0BSD.txt // You may also obtain a copy of the Zero-Clause BSD License at // <https://opensource.org/license/0bsd> // // SPDX-License-Identifier: 0BSD { "lineWidth": 100, "newLineKind": "lf", "useTabs": true, "exec": { "cwd": "${configDir}", "commands": [ { "exts": ["go"], "command": "gofmt", }, { "exts": ["proto"], "command": "buf format {{file_path}}", }, ], }, "excludes": [ "bun.lock", "LICENSES/**/*", ], "plugins": [ "https://plugins.dprint.dev/json-0.20.0.wasm", "https://plugins.dprint.dev/markdown-0.18.0.wasm", "https://plugins.dprint.dev/exec-0.5.1.json@492414e39dea4dccc07b4af796d2f4efdb89e84bae2bd4e1e924c0cc050855bf", ], }
-
-
-
@@ -0,0 +1,19 @@// Copyright 2025 Shota FUJI // // This source code is licensed under Zero-Clause BSD License. // You can find a copy of the Zero-Clause BSD License at LICENSES/0BSD.txt // You may also obtain a copy of the Zero-Clause BSD License at // <https://opensource.org/license/0bsd> // // SPDX-License-Identifier: 0BSD edition = "2023"; package event; option go_package = "pocka.jp/x/event_sourcing_user_management_poc/proto"; message InitialAdminCreationPasswordCreated { string password_hash = 1; string salt = 2; }
-
-
src/main.go (new)
-
@@ -0,0 +1,18 @@// Copyright 2025 Shota FUJI // // This source code is licensed under Zero-Clause BSD License. // You can find a copy of the Zero-Clause BSD License at LICENSES/0BSD.txt // You may also obtain a copy of the Zero-Clause BSD License at // <https://opensource.org/license/0bsd> // // SPDX-License-Identifier: 0BSD package main import ( "fmt" ) func main() { fmt.Println("Hello, World!") }
-