This commit is contained in:
STARAI\Star 2024-10-20 09:02:57 +08:00
commit eb3de0d21a
3 changed files with 64 additions and 0 deletions

26
apigo.yml Normal file
View File

@ -0,0 +1,26 @@
name:
version:
main: main.js
output: dist
targets:
darwin: amd64 arm64
linux: amd64 arm64
windows: amd64
modules:
apigo.cc/gojs/console: latest
apigo.cc/gojs/util: latest
apigo.cc/gojs/log: latest
apigo.cc/gojs/file: latest
apigo.cc/gojs/http: latest
apigo.cc/gojs/db: latest
apigo.cc/gojs/client: latest
apigo.cc/gojs/service: latest
apigo.cc/ai/llm: latest
moduleAlias:
imports:
apigo.cc/ai/llm/openai: latest
apigo.cc/ai/llm/zhipu: latest
modernc.org/sqlite: latest
github.com/ssgo/s: v1.7.9
cacheFiles:
- main.js

13
main.js Normal file
View File

@ -0,0 +1,13 @@
import console from 'console'
import util from 'util'
import log from 'log'
import file from 'file'
import http from 'http'
import db from 'db'
import client from 'client'
import service from 'service'
import llm from 'ai/llm'
function main() {
}

25
main_test.js Normal file
View File

@ -0,0 +1,25 @@
import console from 'console'
import util from 'util'
import log from 'log'
import file from 'file'
import http from 'http'
import db from 'db'
import client from 'client'
import service from 'service'
import llm from 'ai/llm'
function onStart() {
}
function onStop() {
}
function testA() {
return true
}
function testB() {
return true
}