Skip to content

Commit eddfae1

Browse files
committed
Обновление документации
1 parent 87ee0f3 commit eddfae1

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/en/marshal_main.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ outline: deep
55
# API / Marshal / Main
66

77
::: info Info
8-
This page documents serialization and deserialization of UUIDs to and from **Binary**, **JSON**, and **Text** formats. Every marshal/unmarshal method works with all UUID versions — V1 through V8 and Null.
8+
This page documents serialization and deserialization of UUIDs to and from **Binary**, **Json**, and **Text** formats. Every marshal/unmarshal method works with all UUID versions — V1 through V8 and Null.
99
:::
1010

1111
## MarshalBinary
@@ -28,7 +28,7 @@ Output:
2828
```
2929

3030
## MarshalJson
31-
Encodes the UUID into a JSON string in the standard 8-4-4-4-12 format.
31+
Encodes the UUID into a Json string in the standard 8-4-4-4-12 format.
3232
```go
3333
import "github.com/mikhaildadaev/uuid"
3434
uu, err := uuid.Parse("018f3c14-8000-0000-0000-000000000001")
@@ -83,7 +83,7 @@ Output:
8383
```
8484

8585
## UnmarshalJson
86-
Decodes a UUID from a JSON-encoded string. Accepts both quoted and unquoted forms; returns an error if the format is invalid.
86+
Decodes a UUID from a Json-encoded string. Accepts both quoted and unquoted forms; returns an error if the format is invalid.
8787
```go
8888
import "github.com/mikhaildadaev/uuid"
8989
var u uuid.UUID

docs/ru/marshal_main.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ outline: deep
55
# API / Marshal / Основное
66

77
::: info Информация
8-
На этой странице описана сериализация и десериализация UUID в форматы **Binary**, **JSON** и **Text**. Каждый метод работает со всеми версиями UUID — от V1 до V8, включая Null.
8+
На этой странице описана сериализация и десериализация UUID в форматы **Binary**, **Json** и **Text**. Каждый метод работает со всеми версиями UUID — от V1 до V8, включая Null.
99
:::
1010

1111
## MarshalBinary
@@ -28,7 +28,7 @@ Output:
2828
```
2929

3030
## MarshalJson
31-
Кодирует UUID в строку JSON в стандартном формате 8-4-4-4-12.
31+
Кодирует UUID в строку Json в стандартном формате 8-4-4-4-12.
3232
```go
3333
import "github.com/mikhaildadaev/uuid"
3434
uu, err := uuid.Parse("018f3c14-8000-0000-0000-000000000001")
@@ -83,7 +83,7 @@ Output:
8383
```
8484

8585
## UnmarshalJson
86-
Декодирует UUID из JSON-строки. Принимает как строки в кавычках, так и без кавычек; возвращает ошибку при неверном формате.
86+
Декодирует UUID из Json-строки. Принимает как строки в кавычках, так и без кавычек; возвращает ошибку при неверном формате.
8787
```go
8888
import "github.com/mikhaildadaev/uuid"
8989
var u uuid.UUID

docs/zh/marshal_main.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ outline: deep
55
# API / Marshal / 主要
66

77
::: info 关于
8-
本页记录了 UUID 与 **Binary****JSON****Text** 格式之间的序列化和反序列化。每个方法适用于所有 UUID 版本 — V1 至 V8 以及 Null。
8+
本页记录了 UUID 与 **Binary****Json****Text** 格式之间的序列化和反序列化。每个方法适用于所有 UUID 版本 — V1 至 V8 以及 Null。
99
:::
1010

1111
## MarshalBinary
@@ -28,7 +28,7 @@ Output:
2828
```
2929

3030
## MarshalJson
31-
将 UUID 编码为标准 8-4-4-4-12 格式的 JSON 字符串。
31+
将 UUID 编码为标准 8-4-4-4-12 格式的 Json 字符串。
3232
```go
3333
import "github.com/mikhaildadaev/uuid"
3434
uu, err := uuid.Parse("018f3c14-8000-0000-0000-000000000001")
@@ -83,7 +83,7 @@ Output:
8383
```
8484

8585
## UnmarshalJson
86-
JSON 编码的字符串解码 UUID。接受带引号和不带引号的形式;格式无效时返回错误。
86+
Json 编码的字符串解码 UUID。接受带引号和不带引号的形式;格式无效时返回错误。
8787
```go
8888
import "github.com/mikhaildadaev/uuid"
8989
var u uuid.UUID

0 commit comments

Comments
 (0)