common

module
v0.0.0-...-f9b1259 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: Apache-2.0

README

Common Module

This module contains shared utilities, models, and helpers used across the API Platform services.

Structure

  • logger/ - Common logging utilities
  • config/ - Configuration helpers
  • errors/ - Custom error types and error handling
  • models/ - Shared data models
  • utils/ - General utility functions
  • constants/ - Shared constants

Usage

Import this module in your Go projects:

import "github.com/wso2/api-platform/common/logger"
import "github.com/wso2/api-platform/common/models"

Local Development

When developing locally, use replace directive in your go.mod:

replace github.com/wso2/api-platform/common => ../common

Directories

Path Synopsis
* Copyright (c) 2025, WSO2 LLC.
* Copyright (c) 2025, WSO2 LLC.
* Copyright (c) 2025, WSO2 LLC.
* Copyright (c) 2025, WSO2 LLC.
testutils

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL