๐Ÿ’พ Archived View for source.community โ€บ Fuwn โ€บ space โ€บ blob โ€บ main โ€บ content.go captured on 2023-04-26 at 13:26:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2023-01-29)

โžก๏ธ Next capture (2024-02-05)

-=-=-=-=-=-=-

                                                         .
,-. ,-. . . ,-. ,-. ,-.    ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . .
`-. | | | | |   |   |-'    |   | | | | | | | | | | | | | |  | |
`-' `-' `-^ '   `-' `-' :: `-' `-' ' ' ' ' ' ' `-^ ' ' ' `' `-|
                                                             /|
                                                            `-'

Profile for Fuwn

Fuwn / space

git clone https://source.community/Fuwn/space.git

Branches

Log

Tree

/content.go (main)

โ†‘ /

blob

View raw contents of /content.go (main)

โ”€โ”€โ”€โ”€โ•ฎ
   1โ”‚ // Copyright (C) 2021-2021 Fuwn
   2โ”‚ // SPDX-License-Identifier: GPL-3.0-only
   3โ”‚ 
   4โ”‚ package main
   5โ”‚ 
   6โ”‚ func GetContent(file string) string {
   7โ”‚ 	contents, err := contentFilesystem.ReadFile("content/" + file)
   8โ”‚ 
   9โ”‚ 	if err != nil {
  10โ”‚ 		return `# ERROR READING FILE
  11โ”‚ 
  12โ”‚ I seem to be having some trouble reading the contents of the "` + file + `" file... Try refreshing the page and if the problem persists, contact Fuwn!`
  13โ”‚ 	}
  14โ”‚ 
  15โ”‚ 	return string(contents)
  16โ”‚ }
โ”€โ”€โ”€โ”€โ•ฏ

ยท ยท ยท

๐Ÿก Home

FAQs

Privacy Policy

Terms & Conditions

Official Gemlog

info@source.community

ยฉ 2023 source.community