Refactored the code some more
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
package config
|
||||
|
||||
import "fmt"
|
||||
|
||||
const PORT = 8080
|
||||
|
||||
const APP_NAME = "textsender-api"
|
||||
|
||||
func PortString() string {
|
||||
portMessage := fmt.Sprintf(":%d", PORT)
|
||||
|
||||
return portMessage
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user