工具类:EditEntityTool.cs
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Th…
Gorm和Mysql驱动的安装
打开终端,输入下列命令即可:
go get gorm.io/driver/mysql
go get gorm.io/gormGorm连接数据库
示例
package mainimport ("fmt""github.com/sirupsen/logrus""gorm.io/driver/mysql""gor…