论坛


2021年9月14日 星期二

xorm使用 - delphi中间件

delphi中间件| 博客园_咏南中间件和开发框架 |22:22:00

xorm使用 在d:\goxorm新建俩个文件 config lang=go genJson=1 prefix=cos_ struct.go.tpl package {{.Models}} {{$ilen := len .Imports}} {{if gt $ilen 0}} import ( {{

kbmmw 5.18.0 发布 - xalion

xalion| 博客园_Delphi 窑洞 |16:34:00

5.18.00 Sep 12 2021 Important notes (changes that may break existing code) * Officially dropped support for pre XE7. XE8 and up is recommended. New st

论服务接口的重要性 - delphi中间件

delphi中间件| 博客园_咏南中间件和开发框架 |07:31:00

论服务接口的重要性 服务接口是跨平台、跨语言的关键技术。在新的云平台时代,软件系统应该使用“服务接口”。 像xml, json,因为是明文而被业界广泛认可,还有像facdbook的thrift,google的protobuf,这些大厂推出的追求性能的二进制解决方案,都已经成为了业界的事...

go多态 - delphi中间件

delphi中间件| 博客园_咏南中间件和开发框架 |07:25:00

go多态 package main import ( "fmt" ) type Animal interface { Speak() string } type Dog struct { } func (d Dog) Speak() string { return "Woof!" } type Ca

go泛型 - delphi中间件

delphi中间件| 博客园_咏南中间件和开发框架 |07:22:00

go泛型 package main import ( "fmt" ) func PrintAll(vals []interface{}) { for _, val := range vals { fmt.Println(val) } } func main() { //names := []int{