Skip to content

🔥🔥🔥 fastposter海报生成器,图片生成器,电商海报编辑器,海报设计器,电商图片合成,海报开发。生成朋友圈分享海报并生成图片,二维码海报,图片海报,图片合成,二维码推广海报,支持Java Python PHP Go JS 小程序。https://fastposter.net/doc/

License

Notifications You must be signed in to change notification settings

psoho/fastposter-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastposter-client-go

🔥🔥🔥 fastposter海报生成器,图片生成器,电商海报编辑器,海报设计器,电商图片合成,海报开发。生成朋友圈分享海报并生成图片,二维码海报,图片海报,图片合成,二维码推广海报,支持Java Python PHP Go JS 小程序。https://cloud.fastposter.net/doc/

fastposter 让海报开发更简单

云服务开发文档 https://cloud.fastposter.net/doc/guide/

查找最新版本

进入网址:https://github.com/psoho/fastposter-client-go/releases

安装

go get github.com/psoho/fastposter-client-go

使用

package main

import (
	"fmt"
	"github.com/psoho/fastposter-client-go/fastposter"
)

func main() {

	// 创建海报客户端
	client := fastposter.Client("07657854eb3858269c76")

	// 设置参数
	params := map[string]interface{}{
		"name": "测试文本",
	}

	// 生成海报
	poster, err := client.BuildPoster("4b9423a28e594ac5", params, "png")
	if err != nil {
		fmt.Println("Error:", err)
		return
	}

	//fmt.Println("B64:", poster.B64String())
	poster.Save()
}

效果

版本发布

git tag 1.1.0
git push --tag

About

🔥🔥🔥 fastposter海报生成器,图片生成器,电商海报编辑器,海报设计器,电商图片合成,海报开发。生成朋友圈分享海报并生成图片,二维码海报,图片海报,图片合成,二维码推广海报,支持Java Python PHP Go JS 小程序。https://fastposter.net/doc/

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages