跨包引用

This commit is contained in:
2025-11-16 04:17:11 +00:00
parent 2ca67712b6
commit c27feedd30
3 changed files with 38 additions and 2 deletions

4
packages/stg.go Normal file
View File

@@ -0,0 +1,4 @@
package stg
var Stg string = "STG_TEST" // 可以用
var test string = "test" // 用不了,跨包使用要大写