摘要:
Cargo.toml: [package] name = "demo" version = "0.1.0" edition = "2021" [dependencies] serde = { version = "1.0.204", features = ["derive"] } ntex = { 阅读全文
摘要:
Cargo.toml: [package] name = "demo" version = "0.1.0" edition = "2021" [dependencies] bytes = "1.6.1" may = "0.3.45" may_minihttp = { git = "https://g 阅读全文
摘要:
Cargo.toml: [dependencies] serde = {version = "1.0.204", features = ["derive"]} serde_json = "1.0.120" main.rs: use serde::{Deserialize, Serialize}; u 阅读全文
摘要:
index.ts: // this becomes an internal file path import html from "./index.html" with { type: "file" }; import { file } from "bun"; export default { fe 阅读全文
摘要:
import { Elysia } from 'elysia' const app = new Elysia() .get('/ok', function* () { yield 1 yield 2 yield 3 }) .listen(3000) 阅读全文
摘要:
server.ts: import { serve } from "bun"; const id = Math.random().toString(36).slice(2); serve({ port: process.env.PORT || 8080, development: false, // 阅读全文
摘要:
创建src/index.html: <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1 阅读全文
摘要:
package main import ( "embed" "io/fs" "net/http" ) //go:embed all:dist var assets embed.FS func Assets() (fs.FS, error) { return fs.Sub(assets, "dist" 阅读全文
摘要:
更多信息参见主页:https://www.marticliment.com/unigetui/ 阅读全文
摘要:
$input_path = "D:\wps" $output_path = "D:\pdf" $wps = New-Object -ComObject KWPS.Application $Format = [Microsoft.Office.Interop.Word.WdSaveFormat]::w 阅读全文