From 4b62cd2d57aba525e7f39fba0d9e2862c2d86efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Fri, 24 Dec 2021 23:55:35 +0800 Subject: [PATCH] format code --- easylock/abstruct.go | 4 ++-- easylock/define.go | 2 +- easylock/error.go | 4 ++-- easylock/lock.go | 2 +- easylock/lock_segment.go | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/easylock/abstruct.go b/easylock/abstruct.go index 2371003..fba1523 100644 --- a/easylock/abstruct.go +++ b/easylock/abstruct.go @@ -1,6 +1,6 @@ -// Package easylock... +// Package easylock ... // -// Description : easylock... +// Description : easylock ... // // Author : go_developer@163.com<白茶清欢> // diff --git a/easylock/define.go b/easylock/define.go index 725cba1..4f9578c 100644 --- a/easylock/define.go +++ b/easylock/define.go @@ -11,7 +11,7 @@ type option struct { flag string // 锁的标识 } -// Option 设置option选项 +// OptionFunc 设置option选项 // // Author : go_developer@163.com<白茶清欢> // diff --git a/easylock/error.go b/easylock/error.go index b5264ad..a0fb72f 100644 --- a/easylock/error.go +++ b/easylock/error.go @@ -1,6 +1,6 @@ -// Package easylock... +// Package easylock ... // -// Description : easylock... +// Description : easylock ... // // Author : go_developer@163.com<白茶清欢> // diff --git a/easylock/lock.go b/easylock/lock.go index b17f4fe..56b4807 100644 --- a/easylock/lock.go +++ b/easylock/lock.go @@ -1,4 +1,4 @@ -// Package easylock... +// Package easylock ... // // Description : 包装各种姿势的锁 // diff --git a/easylock/lock_segment.go b/easylock/lock_segment.go index 5a2ad0f..891fb82 100644 --- a/easylock/lock_segment.go +++ b/easylock/lock_segment.go @@ -1,4 +1,4 @@ -// Package easylock... +// Package easylock ... // // Description : 分段的锁 //