Last active
March 25, 2019 04:24
-
-
Save dvliman/12646919ee99201aa542c5a47228b8dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/main/kotlin/com/dvliman/demo/Config.kt | |
package com.dvliman.demo; | |
import org.springframework.beans.factory.annotation.Value | |
import org.springframework.context.annotation.Component | |
@Component | |
class Config { | |
@Value("\${demo.db.url}") | |
val dbUrl: String? = null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment