Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
gqcn committed Nov 24, 2024
1 parent 5d1a8ee commit f7d647a
Show file tree
Hide file tree
Showing 44 changed files with 235 additions and 415 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
slug: '/docs/design/context-variable'
title: 'Context: 业务流程共享变量'
sidebar_position: 0
title: 'Context共享变量'
sidebar_position: 10
hide_title: true
keywords: [GoFrame,GoFrame框架,Context,上下文变量,共享变量,异步IO,HTTP请求,Session管理,用户信息,中间件]
description: '通过使用GoFrame框架中的Context传递和管理上下文流程中的共享变量。在Go网络应用中,尤其是HTTP/RPC服务中,Context是传递异步IO控制和上下文变量的关键工具。通过结构化对象的共享,本文展示了如何在请求过程中实现变量传递,确保请求链路中变量的一致性和灵活性。'
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion docs/docs/框架设计/框架设计.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
slug: '/docs/design'
title: '框架设计'
sidebar_position: 1
sidebar_position: 99
hide_title: true
keywords: [GoFrame,GoFrame框架,框架设计,设计思想,内功心法,组件使用,独特设计,技巧性框架,理解设计,使用指南]
description: 'GoFrame框架的设计思想是其灵魂所在,是使用者不可或缺的内功心法。相比于简单的技巧性框架和组件使用,GoFrame更注重指导使用者理解设计理念。掌握了GoFrame的独特设计思想,就等于掌握了整个框架的精髓。'
Expand Down
36 changes: 1 addition & 35 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,41 +129,7 @@ const config: Config = {
position: 'left',
label: '开发手册',
sidebarId: 'mainSidebar',
to: '/docs/design',
items: [
{
label: '开发工具',
to: '/docs/cli',
},
{
label: '数据校验',
to: '/docs/core/gvalid-rules',
},
{
label: 'ORM配置管理',
to: '/docs/core/gdb-config-file',
},
{
label: 'ORM链式操作',
to: '/docs/core/gdb-chaining',
},
{
label: 'WEB服务配置',
to: '/docs/web/server-config-file-template',
},
{
label: 'WEB路由管理',
to: '/docs/web/router-pattern',
},
{
label: 'WEB参数处理',
to: '/docs/web/request',
},
{
label: 'HTTP客户端',
to: '/docs/web/http-client',
},
],
to: '/docs/cli',
},
{
sidebarId: 'courseSidebar',
Expand Down
4 changes: 0 additions & 4 deletions i18n/en/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
"message": "DAO封装设计",
"description": "The label for category DAO封装设计 in sidebar mainSidebar"
},
"sidebar.mainSidebar.category.Context相关设计": {
"message": "Context相关设计",
"description": "The label for category Context相关设计 in sidebar mainSidebar"
},
"sidebar.mainSidebar.category.微服务相关设计": {
"message": "微服务相关设计",
"description": "The label for category 微服务相关设计 in sidebar mainSidebar"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/build'
title: 'Cross-Compile-build'
title: 'Cross-Compiling - build'
sidebar_position: 4
hide_title: true
keywords: [Cross-Compile, GoFrame, Compile Variables, Compilation Configuration, Built-in Variables, Build Information, gf build, Compilation Options, Built-in Compilation, Project Ecosystem]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/gen'
title: 'Code Generation-gen (🔥Key Point🔥)'
title: 'Code Generating - gen 🔥'
sidebar_position: 5
hide_title: true
keywords: [Code Generation, GoFrame, CLI Tool, Project Development, Enterprise-Level Project, Code Standards, Team Collaboration, Development Efficiency, ORM Models, Protobuf Files]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/gen-pb'
title: 'Protocol Compilation -gen pb'
title: 'Protobuf Compilation - gen pb'
sidebar_position: 4
hide_title: true
keywords: [GoFrame, GoFrame Framework, Protocol Compilation, protobuf, GoFrame gen pb, Protocol File, Controller File, Command Line Tool, Generate Go File, CLI Tool]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/gen-ctrl'
title: 'Interface Specification - gen ctrl'
title: 'Controller Generating - gen ctrl'
sidebar_position: 0
hide_title: true
keywords: [GoFrame,API interface,HTTP development,GRPC,controller generation,SDK automation,code specification,collaborative development,code generation,project management]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
slug: '/docs/cli/gen-pbentity'
title: 'Data Table PB-gen pbentity'
title: 'DB Table To PB - gen pbentity'
sidebar_position: 5
hide_title: true
keywords: [GoFrame, Golang entity object, proto data structure, GRPC services, database configuration, GF command line tools, data table generation, entity file generation, pbentity, naming format]
description: "Use the GoFrame framework's command line tool gf to generate proto data structure files pbentity based on database tables. Includes details on command usage, option configuration, and explanations, as well as the differences from the entity files generated in the gen dao module. Applicable for generating data entity structures for HTTP and GRPC services, supporting configuration of generation rules for multiple databases."
---

:::tip
This feature is available starting from version `v2.4`.
:::
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/gen-dao'
title: 'Data Specification-gen dao'
title: 'Dao/Entity Generating - gen dao'
sidebar_position: 1
hide_title: true
keywords: [GoFrame,gen dao,data access object,data transformation model,Go code generation,configuration file management,command line tool,database connection,ORM configuration,project engineering specification]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/gen-enums'
title: 'Enum Maintenance - gen enums'
title: 'Enums Maintenance - gen enums'
sidebar_position: 3
hide_title: true
keywords: [GoFrame, GoFrame framework, Enum maintenance, OpenAPIv3, API documentation, Enum values, Source code analysis, Command line tool, Development efficiency, Data validation]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/gen-service'
title: 'Module Specification - gen service'
title: 'Module Generating - gen service'
sidebar_position: 2
hide_title: true
keywords: [GoFrame,Golang,Business Logic,Module Management,Interface Definition,Code Generation,Circular Dependencies,Service Registration,Compiler,Microservices]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/install'
title: 'Tool Installation-install'
title: 'Installation - install'
sidebar_position: 0
hide_title: true
keywords: [Tool Installation,GoFrame,GoFrame Framework,gf Tool,Command Line Tool,Precompiled Binary,System Environment Variable,MacOS,Windows Installation,go install]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/help'
title: 'Tool Help - Help'
title: 'Tool Help Info - help'
sidebar_position: 11
hide_title: true
keywords: [GoFrame,GoFrame Framework,CLI Tool,gf Command,Help Document,Command Line Tool,Software Help,Tool Usage,Sidebar Position]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli'
title: 'Development Tools'
title: 'CLI Tool'
sidebar_position: 3
hide_title: true
keywords: [GoFrame, GoFrame Framework, gf Command Line Tool, Development Tools, CLI Tools, Framework Design Specifications, Command Line Parameters, Configuration Files, Debug Mode, Code Generation]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/up'
title: 'Framework Upgrade - up'
title: 'Version Upgrade - up'
sidebar_position: 2
hide_title: true
keywords: [GoFrame, GoFrame Framework, CLI Tools, Version Update, Auto Fix, Incompatible Changes, Main Framework, Community Components, Command Line Options, Code Upgrade]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/version'
title: 'Version Check - Version'
title: 'Version Check - version'
sidebar_position: 1
hide_title: true
keywords: [GoFrame, GoFrame framework, gf command line, version check, gf version, CLI tool, Golang version, technical documentation, code compilation, environment configuration]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/run'
title: 'Auto Compile-run'
title: 'Auto Compiling - run'
sidebar_position: 6
hide_title: true
keywords: [GoFrame, auto compile, hot compile feature, go file auto monitor, command line arguments, compile run, binary files, file path monitoring, GoFrame framework, gf run command]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/pack'
title: 'Resource Packaging - pack'
title: 'Files Packing - pack'
sidebar_position: 7
hide_title: true
keywords: [GoFrame, GoFrame framework, resource packaging, CLI tools, gf pack, resource files, go code files, file packaging, command line tools, source code management]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/docker'
title: 'Image Compilation - docker'
title: 'Image Building - docker'
sidebar_position: 8
hide_title: true
keywords: [GoFrame Framework, Docker Image Compilation, gf docker, Makefile Build, Binary Build, gf build, gf gen enums, Command Combination, Automatic Push, Configuration File Management]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: '/docs/cli/init'
title: 'Project Creation-init'
title: 'Project Creation - init'
sidebar_position: 3
hide_title: true
keywords: [GoFrame, GoFrame Framework, Project Creation, gf init, MonoRepo, GoFrame Empty Framework, Code Layer Design, go module, Resource Management, Microservice Monorepo Management Mode]
Expand Down
Loading

0 comments on commit f7d647a

Please sign in to comment.