16 lines
389 B
Go
16 lines
389 B
Go
// Copyright (c) 2019 Alexander Medvednikov. All rights reserved.
|
|
// Use of this source code is governed by an MIT license
|
|
// that can be found in the LICENSE file.
|
|
|
|
module term
|
|
|
|
import os
|
|
|
|
pub fn format(msg, open, close string) string {
|
|
return _format(msg, open, close)
|
|
}
|
|
|
|
pub fn format_rgb(r, g, b int, msg, open, close string) string {
|
|
return _format_rgb(r, g, b, msg, open, close)
|
|
}
|