Skip to content

Instantly share code, notes, and snippets.

@rccc
Created March 20, 2023 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rccc/df5475aa11a2e529d94525757bc45acb to your computer and use it in GitHub Desktop.
Save rccc/df5475aa11a2e529d94525757bc45acb to your computer and use it in GitHub Desktop.
import os
fn main(){
mut handler := os.open_append('test.txt') or { panic(err) }
handler.write_string('Hello World again!\r\n') or { panic(err) }
handler.close()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment