This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X POST 'https://api.dify.ai/v1/chat-messages' \ | |
| --header 'Authorization: Bearer YOUR_API_KEY' \ | |
| --header 'Content-Type: application/json' \ | |
| --data-raw '{ | |
| "inputs": {}, | |
| "query": "こんにちは", | |
| "response_mode": "blocking", | |
| "conversation_id": "", | |
| "user": "abc-123" | |
| }' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fs = require('fs'); | |
| const util = require('util'); | |
| // Node.js環境でGo WASMを動作させるための準備 | |
| global.TextEncoder = util.TextEncoder; | |
| global.TextDecoder = util.TextDecoder; | |
| global.performance = require('perf_hooks').performance; | |
| const express = require('express'); | |
| const app = express(); | |
| const port = 3000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main // mainパッケージであることを宣言 | |
| import ( | |
| "fmt" | |
| "log" | |
| "net/smtp" | |
| ) | |
| func main() { | |
| // --- 送信者と受信者の情報を設定 --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "excel_example" | |
| version = "0.1.0" | |
| edition = "2024" | |
| [dependencies] | |
| axum = "0.7.5" | |
| tokio = { version = "1.0", features = ["full"] } | |
| tokio-stream = "0.1.17" | |
| tower-http = { version = "0.6.6", features = ["fs"] } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "excel-test" | |
| version = "0.1.0" | |
| authors = ["naka"] | |
| edition = "2021" | |
| [dependencies] | |
| umya-spreadsheet = "2.3.1" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "excel-test" | |
| version = "0.1.0" | |
| authors = ["naka"] | |
| edition = "2021" | |
| [dependencies] | |
| umya-spreadsheet = "2.3.1" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "html/template" | |
| "log" | |
| "net/http" | |
| "strconv" | |
| "path" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "html/template" | |
| "log" | |
| "net/http" | |
| "strconv" | |
| "path" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import "github.com/xuri/excelize/v2" | |
| func main() { | |
| f := excelize.NewFile() | |
| defer f.Close() | |
| // 新規シート作成&セル書き込み | |
| var shht_name = "Sheet1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module example.com/redis4 | |
| go 1.24.4 | |
| require ( | |
| github.com/cespare/xxhash/v2 v2.3.0 // indirect | |
| github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect | |
| github.com/redis/go-redis/v9 v9.11.0 // indirect | |
| ) |