Skip to content

Tlytics v0.1.3 - Final Module Path Fix

Choose a tag to compare

@t0mk t0mk released this 25 Aug 16:07
· 4 commits to main since this release

Patch Release

This is the definitive fix for Go module path issues. Previous releases had inconsistent module declarations across different tags.

🐛 Root Cause Fixed

The issue was that v0.1.0 tag still contained module tlytics while later versions had module github.com/t0mk/tlytics, causing Go's module resolution to get confused.

✅ What's Fixed

  • Consistent Module Path: All code now uses github.com/t0mk/tlytics
  • Clean Tag History: This release ensures no conflicting module declarations
  • Import Resolution: Should completely resolve the parsing error

🔧 Resolves Error

go: github.com/t0mk/tlytics@v0.1.2: parsing go.mod:
    module declares its path as: tlytics
            but was required as: github.com/t0mk/tlytics

💻 Usage

go get github.com/t0mk/tlytics@v0.1.3
import "github.com/t0mk/tlytics"

config := tlytics.Config{
    ServerURL:   "http://192.168.1.100:8081",
    FlushPeriod: 5 * time.Second,
}

analytics, err := tlytics.NewClient(config)

📝 Note for Users

If you're still experiencing issues, try:

  1. go clean -modcache to clear module cache
  2. go get github.com/t0mk/tlytics@v0.1.3

✅ Compatibility

  • Backward Compatible: All functionality remains the same
  • No Breaking Changes: API is unchanged
  • SemVer Compliant: Patch version increment (0.1.2 → 0.1.3)