| 1 | package oss_test |
| 2 | |
| 3 | import ( |
| 4 | "github.com/denverdino/aliyungo/oss" |
| 5 | |
| 6 | "testing" |
| 7 | ) |
| 8 | |
| 9 | func TestRegionEndpoint(t *testing.T) { |
| 10 | t.Log(oss.Beijing.GetInternalEndpoint("test", false)) |
| 11 | t.Log(oss.Beijing.GetVPCInternalEndpoint("test", true)) |
| 12 | t.Log(oss.USEast1.GetVPCInternalEndpoint("test", true)) |
| 13 | } |