Installation

Requirements

  • Go 1.21 or later
  • Module-aware Go project (go.mod)

Install

go get gitlab.com/tranchida/gocamel

Or add to go.mod:

require gitlab.com/tranchida/gocamel v0.1.0

Then:

go mod tidy

Verify

package main

import (
    "fmt"
    "gitlab.com/tranchida/gocamel"
)

func main() {
    ctx := gocamel.NewCamelContext()
    fmt.Println("GoCamel context created successfully!")
}

Run:

go run test.go