Finely chop onion, carrot, and green onion.
Add cooking oil to a pan, stir-fry the green onion to release its aroma.
Add onion and carrot, then stir-fry.
Add the rice and stir-fry, breaking up any clumps.
Season with soy sauce and salt.
Mix everything together and stir-fry once more to finish.