摘要:
# jwt github.com/dgrijalva/jwt-go # redis github.com/go-redis/redis/v8 # rabbitmq github.com/streadway/amqp # rocketmq github.com/apache/rocketmq-clie 阅读全文
摘要:
前提:Windows平台 pom.xml <!-- documents4j word转pdf --> <dependency> <groupId>com.documents4j</groupId> <artifactId>documents4j-local</artifactId> <version 阅读全文
摘要:
// 获取图片宽度高度 需要引入格式包 "image/png"等 import ( "fmt" "image" _ "image/jpeg" _ "image/png" "os" ) imagePath := "/public/logo.png" file, _ := os.Open(imagePa 阅读全文
摘要:
// float64保留2位小数 func Decimal(value float64) float64 { value, _ = strconv.ParseFloat(fmt.Sprintf("%.2f", value), 64) return value } // 获取两点之间的距离 单位km 阅读全文