cloudwego / hertz

Go HTTP framework with high-performance and strong-extensibility for building micro-services.
https://www.cloudwego.io
Apache License 2.0
5.28k stars 515 forks source link

optimzie(hz): handler path is for package #1215

Open FGYFFFF opened 1 week ago

FGYFFFF commented 1 week ago

What type of PR is this?

optimize

Check the PR title.

(Optional) Translate the PR title into Chinese.

优化指定handler_path 的时候,可能导致的非法 package 情况

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: handler path is for package zh(optional): 优化指定handler_path 的时候,可能导致的非法 package 情况

(Optional) Which issue(s) this PR fixes:

(Optional) The PR that updates user documentation: