Skip to content

Commit

Permalink
feat: update readme,add architecture png
Browse files Browse the repository at this point in the history
  • Loading branch information
dapeng committed Nov 24, 2024
1 parent 9b46afa commit 37c51e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@

Gone is a lightweight dependency injection framework for Golang, designed to integrate with a variety of third-party components, enabling rapid development of cloud-native microservices.

<img src="docs/assert/plan.png" width = "400" alt="plan"/>

## Features
- Dependency injection: Supports automatic injection of struct fields and function parameters.
- **[Gonectr](https://github.com/gone-io/gonectr)**: Generates projects, auxiliary code, compiles, and starts the project.
- Unit testing solution: Mock testing based on interfaces.
- Multiple pluggable components: Supports cloud-native and microservices architectures.

<img src="docs/assert/architecture.png" width = "600" alt="architecture"/>

## Quick Start
1. Install [gonectr](https://github.com/gone-io/gonectr) and [mockgen](https://github.com/uber-go/mock/tree/main)
Expand Down
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@

Gone 是一个轻量级的golang依赖注入框架,并且适配了一些列第三方组件用于快速开始编写一个云原生的微服务。

<img src="docs/assert/plan.png" width = "400" alt="plan"/>

## 特性
- 依赖注入,支持对结构体属性和函数参数自动注入
- **[Gonectr](https://github.com/gone-io/gonectr)**,生成项目、生成辅助代码、编译和启动项目
- 单元测试方案,基于接口的mock测试
- 多种组件,可插拔,支持云原生、微服务

<img src="docs/assert/architecture.png" width = "600" alt="architecture"/>

## 快速开始
1. 安装 [gonectr](https://github.com/gone-io/gonectr)[mockgen](https://github.com/uber-go/mock/tree/main)
```bash
Expand Down
Binary file added docs/assert/architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 37c51e7

Please sign in to comment.