From 1a85aaba1b10139ae5414d277ad61adcef79b35b Mon Sep 17 00:00:00 2001 From: gaowenju Date: Thu, 25 Apr 2024 19:59:16 +0800 Subject: [PATCH] chore: format --- cmd/hz/generator/package.go | 2 +- pkg/app/context.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/hz/generator/package.go b/cmd/hz/generator/package.go index 22e31132d..451cdf774 100644 --- a/cmd/hz/generator/package.go +++ b/cmd/hz/generator/package.go @@ -63,7 +63,7 @@ type HttpPackageGenerator struct { IdlClientDir string // client dir for "client" command ForceClientDir string // client dir without namespace for "client" command BaseDomain string // request domain for "client" command - QueryEnumAsInt bool // client code use number for query parameter + QueryEnumAsInt bool // client code use number for query parameter ServiceGenDir string NeedModel bool diff --git a/pkg/app/context.go b/pkg/app/context.go index c7a922bc3..6c6988fba 100644 --- a/pkg/app/context.go +++ b/pkg/app/context.go @@ -236,7 +236,7 @@ type RequestContext struct { binder binding.Binder validator binding.StructValidator - exiled bool + exiled bool } func (ctx *RequestContext) Exile() {