Posted in

Go embed静态资源加载失败?郝林用go:embed //go:build条件编译+runtime/debug.ReadBuildInfo精准定位FS路径歧义

第一章:Go embed静态资源 … Go embed静态资源加载失败?郝林用go:embed //go:build条件编译+runtime/debug.ReadBuildInfo精准定位FS路径歧义Read more

Posted in

Go的build tags正在取代C的#ifdef?——跨平台构建策略演进图谱(含Windows/Linux/Android/RTOS四端条件编译实测)

第一章:Go build tag … Go的build tags正在取代C的#ifdef?——跨平台构建策略演进图谱(含Windows/Linux/Android/RTOS四端条件编译实测)Read more