跨包引用

This commit is contained in:
2025-11-16 03:22:45 +00:00
parent 2eb3c1263d
commit a1ef85a989
2 changed files with 37 additions and 1 deletions

4
packages/stg.go Normal file
View File

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