You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/12 08:26:23 UTC

[GitHub] [pulsar-client-go] xuthus5 commented on pull request #820: Support dynamic set go sdk version in connection

xuthus5 commented on PR #820:
URL: https://github.com/apache/pulsar-client-go/pull/820#issuecomment-1243389676

   VERSION file:
   ```text
   v1.1.0
   ```
   
   logic file:
   ```go
   package main
   
   import (
   	_ "embed"
   	"fmt"
   )
   
   //go:embed VERSION
   var version string
   
   func main() {
   	fmt.Println("my version: ", version)
   }
   ```
   
   echo: `my version: v1.1.0`
   
   What do you think of this way ?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org