GM

goadesign/model

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

467 stars 品質 68 トレンド 40MIT

ソフトウェアアーキテクチャのモデルや図はGoで作成しましょう。

概要

モデルは、図をコードとして用いてソフトウェアアーキテクチャモデルを記述する方法を提供します。このアプローチは、特にグラフィカルツールの使用に比べて多くの利点をもたらします: * : ソフトウェアアーキテクチャモデルの変更ごとにコミットが行われ、アーキテクチャ決定記録の実装が自然に行われます。* : 共有アーキテクチャコンポーネントのコードは他のソフトウェアシステムからインポート可能です。明らかな時間短縮に加え、大きな利点は、共有アーキテクチャコンポーネントの進化に伴いすべての参照が自動的に最新に保たれることです。共有アーキテクチャコンポーネントコードは、従来のソースコードのバージョン管理技術を使ってバージョン管理も可能です。* : 共有アーキテクチャ図のインポートに用いられる同じ仕組みは、共有スタイル定義のインポートにも利用できます。* : 静的コード解析により、ソフトウェアモデルと実際のコードを比較して不一致を検出するツールを作成できます(現時点ではこのリポジトリではそのようなツールは提供されていません)。

概要(AI 翻訳)

概要

モデルは、ソフトウェアアーキテクチャモデルを次のように記述する方法を提供します。 図をコードとして。このアプローチは、 特にグラフィカルツール:

  • ソース管理のバージョン管理による組み込み履歴:ソフトウェアの変更ごとに アーキテクチャモデルはコミットを生み出し、実装が自然になります 建築決定記録。
  • 共有アーキテクチャコンポーネントのシンプルかつ一貫した再利用:コード 共有アーキテクチャコンポーネントは他のソフトウェアによってインポート可能です システム。明らかな時間節約以外に大きな利点は、確実に すべての参照が共有されたものとして自動的に最新の状態に保たれる アーキテクチャコンポーネントは進化します。共有アーキテクチャコンポーネントコードは 従来のソースコードのバージョン管理技術も使えてバージョン管理が可能です。
  • 一貫した記法と視覚スタイル:インポートに使われるのと同じ仕組み 共有アーキテクチャ図は共有スタイルのインポートにも使用できます 定義。
  • 現実と図の間を移動させる能力:静的コード 解析機能により、ソフトウェアモデルと実際のソフトウェアモデルを比較するツールが作成されます 不一致を検出するためのコード(このリポジトリではそのようなツールは提供されていません)

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Model

Overview

Model provides a way to describe software architecture models using diagrams as code. This approach provides many benefit over the use of graphical tools, in particular:

  • Built-in history via source control versioning: Each change to the software architecture model results in a commit making it natural to implement Architectural Decision Records.
  • Simple and consistent reuse of shared architecture components: The code of shared architecture components can be imported by other software systems. Apart from the obvious time saving a major advantage is ensuring that all references are automatically kept up-to-date as the shared architecture component evolves. The shared architecture component code can be versioned using traditional source code versioning techniques as well.
  • Consistent notation and visual styles: The same mechanism used to import shared architecture diagram can also be used to import shared style definitions.
  • Ability to control drift between reality and diagrams: Static code analysis allows writing tools that compare the software models with actual code to detect discrepencies (this repo does not provide such a tool at this time).

The Model DSL is implemented in Go and follows the

GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add goadesign/model
MCP 初心者?mcpskill.org のガイドから始めましょう →