统一缩进

This commit is contained in:
Peleus 2023-09-11 11:19:25 +08:00
parent 3899ec39dc
commit 503fe58157

View File

@ -1265,20 +1265,20 @@ type Person struct {
```go ```go
person := Person { person := Person {
Name: "gouguoyin", Name: "gouguoyin",
Age: 18, Age: 18,
Birthday1: carbon.Now().SubYears(18).ToDateTimeStruct(), Birthday1: carbon.Now().SubYears(18).ToDateTimeStruct(),
Birthday2: carbon.Now().SubYears(18).ToDateTimeMilliStruct(), Birthday2: carbon.Now().SubYears(18).ToDateTimeMilliStruct(),
Birthday3: carbon.Now().SubYears(18).ToDateTimeMicroStruct(), Birthday3: carbon.Now().SubYears(18).ToDateTimeMicroStruct(),
Birthday4: carbon.Now().SubYears(18).ToDateTimeNanoStruct(), Birthday4: carbon.Now().SubYears(18).ToDateTimeNanoStruct(),
GraduatedAt1: carbon.Now().ToDateStruct(), GraduatedAt1: carbon.Now().ToDateStruct(),
GraduatedAt2: carbon.Now().ToDateMilliStruct(), GraduatedAt2: carbon.Now().ToDateMilliStruct(),
GraduatedAt3: carbon.Now().ToDateMicroStruct(), GraduatedAt3: carbon.Now().ToDateMicroStruct(),
GraduatedAt4: carbon.Now().ToDateNanoStruct(), GraduatedAt4: carbon.Now().ToDateNanoStruct(),
CreatedAt1: carbon.Now().ToTimestampStruct(), CreatedAt1: carbon.Now().ToTimestampStruct(),
CreatedAt2: carbon.Now().ToTimestampMilliStruct(), CreatedAt2: carbon.Now().ToTimestampMilliStruct(),
CreatedAt3: carbon.Now().ToTimestampMicroStruct(), CreatedAt3: carbon.Now().ToTimestampMicroStruct(),
CreatedAt4: carbon.Now().ToTimestampNanoStruct(), CreatedAt4: carbon.Now().ToTimestampNanoStruct(),
} }
``` ```