See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| package main | |
| import ( | |
| "fmt" | |
| "runtime" | |
| "sync" | |
| ) | |
| type SC struct { | |
| m sync.Mutex |
| use core::time; | |
| use std::thread::{self, sleep}; | |
| fn fn_loop(id: u8) { | |
| loop { | |
| println!("fn_loop: {}", id); | |
| sleep(time::Duration::from_secs(1)) | |
| } | |
| } |
| /** | |
| * Gettext Scanner Script for Twig Projects | |
| * v1.3 | |
| * | |
| * Developed by Luís Silva | |
| * https://github.com/luism-s | |
| */ | |
| /** | |
| * Purpose: |
| const one = () => { | |
| const char = ["A", "M", "I", "N", "G", "A", "N", "T", "E", "N", "G"] | |
| const bg = "-" | |
| // buat gambar blank | |
| // biar gampang buat array kosong dulu | |
| let image = new Array(char.length) | |
| for (var i = 0; i < image.length; i++) { | |
| image[i] = new Array(char.length); | |
| } |