repo_description: A cloud-native Go microservices framework with cli tool for productivity.
repo_topics: ai-native ai-native-development cloud-native code-generation framework gateway go golang grpc-gateway microservice microservice-framework microservices microservices-architecture rest-api restful restful-api rpc rpc-framework spec-driven-development web-framework
code: package color
  
  import (
  	"testing"
  
  	"github.com/stretchr/testify/assert"
  )
  
  func TestWithColor(t *testing.T) {
  	output := WithColor("Hello", BgRed)
  	assert.Equal(t, "Hello", output)
  }
  
  func TestWithColorPadding(t *testing.T) {
  	output := WithColorPadding("Hello", BgRed)
  	assert.Equal(t, " Hello ", output)
  }
  