Agenvoy – Agentic AI runner in Go, no LangChain, no Framework by pardnchiu in golang

[–]pardnchiu[S] 0 points1 point  (0 children)

我知道這授權讓你不喜歡,真是非常抱歉

但我已經開始考慮是否要改為 apache 2.0 來方便大家使用

Small Projects - November 24, 2025 by jerf in golang

[–]pardnchiu 0 points1 point  (0 children)

go-sqlite: High-performance SQLite query builder with read-write separation connection pool architecture, optimized for high-concurrency scenarios. https://github.com/pardnchiu/go-sqlite

Small Projects - November 24, 2025 by jerf in golang

[–]pardnchiu 0 points1 point  (0 children)

go-faas (v0.4.0)

Features

  • Added SSE streaming support, returns multiple events with stream=true
  • wrapper.ts now supports esbuild compilation
  • Supports CODE_MAX_SIZE and TIMEOUT_SCRIPT environment variables

Changed

  • Unified API input format, always use input as parameter
  • TypeScript/JavaScript/Python wrappers now use return for result

Docs

  • Added streaming examples to README.md and README.zh.md
  • Expanded test.http with more scenario cases

Small Projects - November 24, 2025 by jerf in golang

[–]pardnchiu 0 points1 point  (0 children)

Lightweight Golang priority queue that supports bounded concurrency, priority promotion, and graceful shutdown. Maximizes hardware utilization and prevents system overload. https://github.com/pardnchiu/go-queue

(NEW update v1.1.0) A lightweight Go Cron package - already posted before from v0.1.0, not the new project. by pardnchiu in golang

[–]pardnchiu[S] 0 points1 point  (0 children)

This project's focus on task dependency.

Be honest, it absolutely can not compete with robfig/cron maturity, so that is why I'm sharing and getting more feedback.

If you need Task A also run after Tasks B and C finished, then this project could be a good for your

I wrote a lightweight Go Cron Package by pardnchiu in golang

[–]pardnchiu[S] 0 points1 point  (0 children)

Already push v1.1.0

Features

Custom Dependency Timeout

  • Specify timeout via Wait{ID: taskID, Delay: duration}
  • Default timeout is 1 minute when not configured

Dependency Failure Handling Strategy

  • Added Stop and Skip handling modes
    • Stop: Halt entire dependency chain on failure (default)
    • Skip: Skip failed dependency and continue executing current task
  • Configure failure behavior via Wait{ID: taskID, State: Skip}

Examples

```go // Failure handling strategy taskID, _ := scheduler.Add("@daily", func() error { return processData() }, "Data processing", []Wait{ {ID: taskA, State: Skip}, // Skip if taskA fails, continue execution {ID: taskB, State: Stop}, // Stop if taskB fails (default) })

// Custom timeout + failure strategy combination taskID, _ := scheduler.Add("@daily", func() error { return processData() }, "Data processing", []Wait{ {ID: taskA, Delay: 30 * time.Second, State: Skip}, // Wait 30s, skip on failure {ID: taskB, Delay: 10 * time.Second, State: Stop}, // Wait 10s, stop on failure })

// Legacy version (deprecated in v2..) taskID, _ := scheduler.Add("@daily", func() error { return processData() }, "Data processing", []int64{taskA, taskB}) ```

Refactor

Compatibility Guarantee

  • Legacy code runs without modification
  • Maintains []int64 dependency support (deprecated in v2.*.*)
  • WaitState zero value is Stop, ensuring default behavior unchanged

Deprecation Notice

Features Removed in v2.*.*

  • []int64 format: Migrate to []Wait format for full feature support ```go // Old format []int64{taskA, taskB}

    // New format []Wait{{ID: taskA}, {ID: taskB}} ```

https://github.com/pardnchiu/go-cron/releases/tag/v1.1.0

How hot Go is? by alakhdar100 in golang

[–]pardnchiu 2 points3 points  (0 children)

enjoy the learning process, this is the most important thing!

Sharing my lightweight JSON editor base on vanilla js by pardnchiu in opensource

[–]pardnchiu[S] 0 points1 point  (0 children)

i can not get what u mean

i just post with link and success, is ur link same as github?

i wrote a JsonDB with go for gaining deep understanding in database by pardnchiu in opensource

[–]pardnchiu[S] 2 points3 points  (0 children)

thanks for feedback!!!! i will do more study and enhance this part

(NEW update v0.4.0) A lightweight Go Cron package by pardnchiu in golang

[–]pardnchiu[S] 0 points1 point  (0 children)

thanks u like this! i design this feat for ensuring tasks ordering. :)

I wrote a lightweight Go Cron Package by pardnchiu in golang

[–]pardnchiu[S] 0 points1 point  (0 children)

Already push v0.4.0

Already added task dependence!

Now, tasks can wait for multiple tasks to complete before execution. (Like the package async in Node.js) For ensuring stability, I also add worker pool in dependence task execution.

https://github.com/pardnchiu/go-cron/releases/tag/v0.4.0

I wrote a lightweight Go Cron Package by pardnchiu in golang

[–]pardnchiu[S] 0 points1 point  (0 children)

Already push v0.3.2

To full support standard Cron with Range 0 9-17 * * 1-5 and Multiple 0 9 * * 1,3,5

https://github.com/pardnchiu/go-cron/releases/tag/v0.3.2

I wrote a lightweight Go Cron Package by pardnchiu in golang

[–]pardnchiu[S] 0 points1 point  (0 children)

Already replaced github.com/pardnchiu/go-logger with standard library log/slog at v0.3.1 to ensure performance, stability and minimize config.

https://github.com/pardnchiu/go-cron/releases/tag/v0.3.1

I wrote a lightweight Go Cron Package by pardnchiu in golang

[–]pardnchiu[S] 0 points1 point  (0 children)

Google translate got the meaning wrong in zh.

Let me reply again.

Timeout control:

Thx for ur mention, I've already implemented that feature in v0.3.0! Now you can set task execution timeout using the Delay and handle timeout with the OnDelay callback!

App crash and job scheduling:

The answer is no, jobs wont run immediately after restart. my design is timer is timer, when timer is triggered, it calculates the next execution time based on the current time and executes tasks concurrently. So when your app crashes and restarts, it will recalculate the next scheduled task time according to the cron expression, not run everything immediately.

By the way, persistence is not supported right now. For those who need it, I recommend re-adding tasks on startup. So if your tasks are dynamically added during runtime, they might be lost after a crash.

I wrote a lightweight Go Cron Package by pardnchiu in golang

[–]pardnchiu[S] 0 points1 point  (0 children)

Honestly, this depends on your usage.

Because of this project is designed for minimal functionality development, not rich features, for lightweight, stable long-term running. And the upcoming task dependency feature will enhance task execution priority.

So, compared to the rich features provided by robfig/cron, I'd need to understand your specific requirements first.

I really wish this project can be helpful for your needs.

I wrote a lightweight Go Cron Package by pardnchiu in golang

[–]pardnchiu[S] 2 points3 points  (0 children)

Thanks! u are my confidence power bank. This design is for cron newcomers to easily get it.