style(代码风格): 统一代码风格

This commit is contained in:
2026-06-25 16:01:05 +08:00
parent 89dfb12296
commit 5ded1ba3cb
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -18,11 +18,12 @@ import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"fmt" "fmt"
"golang.org/x/text/encoding/simplifiedchinese"
"math" "math"
"sort" "sort"
"strconv" "strconv"
"strings" "strings"
"golang.org/x/text/encoding/simplifiedchinese"
) )
// wrapCFFToOTF 将 CFF 裸数据包装为 OpenType 字体格式 // wrapCFFToOTF 将 CFF 裸数据包装为 OpenType 字体格式
+2 -1
View File
@@ -15,10 +15,11 @@
package ofdgo package ofdgo
import ( import (
"github.com/tdewolff/canvas"
"image/color" "image/color"
"strconv" "strconv"
"strings" "strings"
"github.com/tdewolff/canvas"
) )
// parseColor 解析颜色字符串 // parseColor 解析颜色字符串