Skip to content

Instantly share code, notes, and snippets.

@akexorcist
Last active March 30, 2020 16:45
Show Gist options
  • Save akexorcist/e89c5fc7cabf6ec3e443634e51915cbb to your computer and use it in GitHub Desktop.
Save akexorcist/e89c5fc7cabf6ec3e443634e51915cbb to your computer and use it in GitHub Desktop.
Top-level Declaration in Kotlin - Code Snippet for https://blacklenspub.com/visibility-modifier-in-kotlin-2c4d35573b53
package com.blacklens.kotlin.visibility.modifier
// Class
class AwesomeClass { /* ... */ }
// Object
object AwesomeObject { /* ... */ }
// Interface
interface AwesomeInterface { /* ... */ }
// Function
fun awesomeFunction() { /* ... */ }
// Properties
val awesomeProperties = "Black Lens"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment